You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ok2c (via GitHub)" <gi...@apache.org> on 2023/02/14 19:48:38 UTC

[GitHub] [httpcomponents-core] ok2c commented on pull request #390: Add a "Forwarded" HttpRequestInterceptor to add the "Forwarded" HTTP header.

ok2c commented on PR #390:
URL: https://github.com/apache/httpcomponents-core/pull/390#issuecomment-1430290363

   @arturobernalg One more thing. The javadocs say
   ```
    The Forwarded header is added to the request by calling the `HttpRequest.addHeader` method. If a
    Forwarded header already exists in the request, the new key-value pairs are appended to the
    existing header.
    ```
   but this is not what the implementation currently does and I think it did not do that before, either. Is the interceptor meant to preserve the list of previous hops in the forwarded chain or it is meant to build the initial list consisting of the first hop only? Please clarify.


-- 
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-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org