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
For some reason, libevent's http server implementation does not retrieve an HTTP request body when parsing a GET request. There must be a way around this.
staticintevhttp_method_may_have_body(enumevhttp_cmd_typetype)
{
switch (type) {
caseEVHTTP_REQ_POST:
caseEVHTTP_REQ_PUT:
caseEVHTTP_REQ_PATCH:
return1;
caseEVHTTP_REQ_TRACE:
return0;
/* XXX May any of the below methods have a body? */caseEVHTTP_REQ_GET:
caseEVHTTP_REQ_HEAD:
caseEVHTTP_REQ_DELETE:
caseEVHTTP_REQ_OPTIONS:
caseEVHTTP_REQ_CONNECT:
return0;
default:
return0;
}
}
This appears to be the culprit, http.c. LAME. Need to figure out a way around this (or just dump the http server/client???)
The text was updated successfully, but these errors were encountered:
For some reason, libevent's http server implementation does not retrieve an HTTP request body when parsing a GET request. There must be a way around this.
This appears to be the culprit,
http.c
. LAME. Need to figure out a way around this (or just dump the http server/client???)The text was updated successfully, but these errors were encountered: