artiya4u / google-http-java-client

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

Referrer nor #248

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.15.0-rc)?

   1.16.0-rc

Java environment (e.g. Java 6, Android 2.3, App Engine)?

   JSDK 1.6

Describe the problem.

   There's no "Referer" header - I'm pretty sure.

How would you expect it to be fixed?

   add the following - req.getHeaders().setReferer(String)

Also, I'm not sure that all the headers are passed to the low-level request.  
Something added to the listener to be allow inspection of the full and final 
payload (for POST at least) would be handy.

Lastly is it Referer or Referrer in the HTTP spec???

Original issue reported on code.google.com by paul@hammant.org on 22 Sep 2013 at 5:58