ESP HTTP Server + Expect: 100-continue

hoeken
Posts: 3
Joined: Sat Nov 25, 2023 2:44 pm

ESP HTTP Server + Expect: 100-continue

Postby hoeken » Sat Nov 25, 2023 2:51 pm

I'm working on a wrapper library for the ESP-IDF Http Server located here: https://github.com/hoeken/PsychicHTTP/

I'm trying to implement support for the Expect: 100-continue header, for uploads to the server. https://developer.mozilla.org/en-US/doc ... ers/Expect

Basically, the client sends this header + content type and content length, then the server has a chance to reject it before the whole upload file is written.

My question is: In my request callback, I'd like to immediately send the response code, handle the upload, and then send the response body at a later point. Is this possible, and how would you go about this?

Who is online

Users browsing this forum: markkuk and 314 guests