rlalfo / google-http-java-client

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

Delete some headers on a redirect [backwards incompatible] #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://code.google.com/p/httplib2/source/browse/python2/httplib2/__init__.py#138
0

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Currently on a redirect we preserve all HTTP headers.  Looking at httplib2 
linked above, it deletes the "if-none-match", "if-modified-since", and 
"authorization" headers.  It also has functionality to retain the 
"authorization" header.  Should we do something similar?  Note that I am asking 
a question here, because I don't know what is considered the best practice here.

Original issue reported on code.google.com by yan...@google.com on 17 Dec 2012 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 17 Dec 2012 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Jan 2013 at 8:49

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/7058067/

Original comment by yan...@google.com on 9 Jan 2013 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jan 2013 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Feb 2013 at 1:14