ok2c commented on PR #440: URL: https://github.com/apache/httpcomponents-core/pull/440#issuecomment-1762142330
@arturobernalg This does not look right to me. This is a _client-side_ request interceptor that generates the`Expect` header, not the server-side one that processes it. The logic is misplaced. Please see `HttpServerExpectationFilter` and `AsyncServerExpectationFilter`. They already handle unexpected `Expect` header values by responding back with 417. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org