ariary / Notionion

Notion as an HTTP proxy
The Unlicense
25 stars 3 forks source link

~ `Content-Length` auto-compute #5

Closed ariary closed 2 years ago

ariary commented 2 years ago

For now we have to settle the Content-Lengthmanually in proxy

The idea is to withdraw Content-LenghtHeader in the proxy and recompute it after.

Just getRequestWithoutContentLength return a request but the http.ReadRequest failed to read body. Maybe we need to set Content-Length