I have a proxy server that forwards requests to destination services. My server app is built using spring reactive + reactor-netty. I expect my proxy server to not handle Expect http request header ( so that target app can handle it). I have seen that proxy server is responding client with HTTP 100 and still forwarding Expect header to target app. This results in client getting two HTTP 100 (one from proxy and other from target app). I want that proxy server should not respond HTTP with 100 and let target app do a complete Expect processing ( the way GoRouter handles it).
How do I disable processing of Expect header with spring-reactive?
Any updates on this? We're encountering this issue as well
@timothymathison We will try to address this for 0.9.6.RELEASE
@hmble2 @timothymathison
After looking at that issue in details I don't think an enhancement is needed in Reactor Netty.
Reactor Netty will send automatically 100 Continue ONLY when the IO handler asks for the incoming body and there was no response with 100 Continue before that operation.
I'll update the gateway issue https://github.com/spring-cloud/spring-cloud-gateway/issues/1337
Most helpful comment
@timothymathison We will try to address this for 0.9.6.RELEASE