pistache
pistache copied to clipboard
100 Continue
How should I handle "Expect: 100-continue" in my post handler? if I do this:
auto ct = req.headers().tryGet<Http::Header::Expect>();
if (ct) {
auto res = response.send(Http::Code::Continue);
}
and later on
response.send(status_code, body, mime_type);
I get twice or even 3 times "100 CONTINUE" sent on my behalf followed by "200 OK"
Given the new maxResponseSize and maxRequestSize, it should be handled internally like libmicrohttpd does.