I have an issue with Apache2 which I use as a proxy. My software sends HTTP PUT for protected resource with
Expect: 100-continue Transfer-Encoding: chunked
And instead of getting '401 Unauthorized' I get '100 Continue'. After that my soft sends all chunks to server and then I get 401.
It looks like Apache does not forward headers and automatically sends '100 Continue'.
Is this correct behavior?
Here is what I found here
If a proxy receives a request that includes an Expect request- header field with the "100-continue" expectation, and the proxy either knows that the next-hop server complies with HTTP/1.1 or higher, or does not know the HTTP version of the next-hop server, it MUST forward the request, including the Expect header field