You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: