]> git.leonardobizzoni.com Git - http-lib/commit
Request parsing and dispatch
authorLeonardoBizzoni <leo2002714@gmail.com>
Thu, 15 Aug 2024 16:42:57 +0000 (18:42 +0200)
committerLeonardoBizzoni <leo2002714@gmail.com>
Thu, 15 Aug 2024 16:42:57 +0000 (18:42 +0200)
commite69de25100ee7dfdefe5250f0222839b9075eb42
treeb05fb8a1bf2425a4a8106e210c31c355f8a0322a
parentac323fa741b3805a2c62180f0fa8553f28157e94
Request parsing and dispatch

Missing sending the `Response` to the client.
There is also an error when its given a query string alongside a
path eg. `example.com/eg?meaning_of_life=42`. This puts inside
`Request.query` `/eg?meaning_of_life=42` instead of just `/eg`.
12 files changed:
src/const_definitions.h [new file with mode: 0644]
src/error.h
src/http.h
src/http_version.h [new file with mode: 0644]
src/listener.cpp
src/listener.h
src/main.cpp
src/method.h
src/request.cpp
src/request.h
src/response.cpp
src/response.h