Skip to content

Document that Logger reflects Feign's Request, not the wire request - #3544

Open
ChrisJr404 wants to merge 1 commit into
OpenFeign:masterfrom
ChrisJr404:logger-wire-request-doc
Open

Document that Logger reflects Feign's Request, not the wire request#3544
ChrisJr404 wants to merge 1 commit into
OpenFeign:masterfrom
ChrisJr404:logger-wire-request-doc

Conversation

@ChrisJr404

Copy link
Copy Markdown

Adds a note to the Logger class javadoc explaining that request logging reflects the Request that Feign builds, which can differ from what the underlying Client actually sends. The default HttpURLConnection based Client drops headers the JDK treats as restricted, so a header can show up in the log without being on the wire. Closes #2682.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logger logs unsent request headers even though Default in Client has restricted headers

1 participant