Kellner
Kellner copied to clipboard
evhttp_add_header broken?
hello, recently I installed the extension and tried to use the httpclient.php in the demos/misc.. the file sends the request but it only has a GET /dir_goes_here HTTP/x.x\r\n in the headers and it totally ignores the evhttp_add_header function (most webservers return 400 - bad request) .. if anyone knows what goes wrong here, please let me know.
edit: after some digging I found out that evhttp_make_header uses output_headers to append the key value in the request/response.. so the evhttp_request_add_header needs to use output_header too in order to work!