timecraft icon indicating copy to clipboard operation
timecraft copied to clipboard

trace: support HTTP 100 Continue

Open achille-roussel opened this issue 2 years ago • 0 comments

The HTTP protocol has a mechanism for a client to ask a server whether it is willing to accept the request body:

  • first the client sends the request header with a Expect header
  • then the server responds with a body-less message and the status doe 100 Continue
  • the client sends the response body
  • the server sends the final response

In this data flow, there is a single request and two responses, which isn't supported by our current implementation in internal/debug/tracing, we should address to support this common idiom of the HTTP protocol.

achille-roussel avatar Jul 01 '23 05:07 achille-roussel