Commit Graph

19 Commits (c-web-server)

Author SHA1 Message Date
Jef Roosens 62c42331d4
docs: document event & http loop 2023-05-31 16:49:15 +02:00
Jef Roosens 58e2d8a02e
feat: add long & custom redirect urls 2023-05-30 19:36:58 +02:00
Jef Roosens f07042e798
refactor: modularize the http header files 2023-05-30 16:00:08 +02:00
Jef Roosens 89fb77db7f
feat: add mime types 2023-05-30 15:18:39 +02:00
Jef Roosens 87312f2d84
feat: PoC uploading of pastes 2023-05-30 10:17:46 +02:00
Jef Roosens 1e42dc04dc
feat: add auth step 2023-05-29 23:37:23 +02:00
Jef Roosens 16103f9b24
feat: add step to receive request body in buffer 2023-05-29 23:26:15 +02:00
Jef Roosens 095f86ad72
feat: support serving files 2023-05-29 18:28:46 +02:00
Jef Roosens 464753d627
feat: allow matching regex routes 2023-05-29 18:28:46 +02:00
Jef Roosens dd0ba31506
feat: support adding up to 4 headers 2023-05-29 18:28:46 +02:00
Jef Roosens 18d67fb69f
feat: routes now specify a method 2023-05-29 18:28:46 +02:00
Jef Roosens 9b66223a57
refactor: move some stuff, add some docs 2023-05-29 18:28:45 +02:00
Jef Roosens 2fb3e2bb00
feat: response bodies from char buffers; generated responses 2023-05-29 18:28:45 +02:00
Jef Roosens 62348c14f5
refactor: moved resetting of ctx to separate function 2023-05-29 18:28:45 +02:00
Jef Roosens 590f0e5186
feat: added http response type names 2023-05-29 18:28:45 +02:00
Jef Roosens 4d436aa8aa
feat: split route into route & query 2023-05-29 18:28:45 +02:00
Jef Roosens 7ece0eb4e5
feat: basic http routing 2023-05-29 18:28:45 +02:00
Jef Roosens 8250a5b8b0
feat: started designing http framework 2023-05-29 18:28:45 +02:00
Jef Roosens 68f9227436
feat: decouple event loop from http 2023-05-29 18:28:45 +02:00