libhttpserver
libhttpserver copied to clipboard
C++ library for creating an embedded Rest HTTP server (and more)
### Requirements for Adding the fuzzing test Fuzzing is a well-known technique to unravel security vulnerabilities and programming errors in the code. This PR is aimed to add fuzz tests...
**Is your feature request related to a problem? Please describe.** I'm trying to set up self contained unit tests for a `httpserver::http_resource` implementation but there doesn't seem to be any...
**Is your feature request related to a problem? Please describe.** Currently the library doesn't allow an easy use of client certificate authentication (conversely of what libmicrohttpd does). **Describe why the...
Currently the access log outputs the following format: ``` /_utils/index.html METHOD: GET /_utils/style/layout.css?0.11.0 METHOD: GET /_utils/script/jquery.js METHOD: GET /_utils/script/jquery.dialog.js METHOD: GET /_utils/script/json2.js METHOD: GET ``` It would be useful if...
### Description of the Change Originally this example: curl -v -XGET --data 'test' 'http://localhost:8080/service' (GET metoth + data on body of request) does not finalize connection with client. ### Quantitative...
**Is your feature request related to a problem? Please describe.** The code has a high number of nested blocks. This compromises both the readability of the code and the effectiveness...
We are adding "basic authentication" in our REST server. Our first implementation was to use the methods "req.get_user()" and "req.get_pass()" in each request received and to check if it was...
Hello, This example shows how to get a custom access log at the time of request. How can I get the information at the response (I need the return HTTP...
### Prerequisites * [X] Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo%3Aetr%2Flibhttpserver&type=Issues ### Description I am attempting to...
I am implementing a deferred_response. After reading the docs @ https://github.com/etr/libhttpserver/blob/master/README.md?plain=1#L632 It looks to me that I can not change headers or content-type after my deferred_response has been returned in...