artiya4u / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

HttpRequest should not log the Authorization-header in batched requests #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.5.0-beta)?
*

Describe the problem.
Currently the Authorization header will be logged in every batched request, 
even if the logging level is set to CONFIG, as the content of the batch request 
is logged as a single piece. 
We should support suppressing the Authorization header in logged requests for 
batch as we do have for normal ones.

How would you expect it to be fixed?
Create a BatchedLowLevelHttpRequest and remove the Writer parameter from 
HttpHeaders.addHeader, and set the logger variable to the actual logger.

Original issue reported on code.google.com by mlin...@google.com on 15 Jun 2012 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jul 2012 at 11:37

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Jan 2013 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 5 Feb 2013 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 12 Apr 2013 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 10 Jun 2013 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Jul 2013 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Sep 2013 at 11:55