added referer argument for setting "Referer:" in header #127

wants to merge 1 commit into from

3 participants


Can you merge it ?
Setting "Referer" by hand is useful in some situations.


Hiroshi Nakamura » httpclient #53 SUCCESS
This pull request looks good
(what's this?)




Sorry for late response.

You can add headers like this; @client.get(url, :header => { Referer: referer }). Do you need to set stable referer that need to be sent with all requests? I'm unsure if it's typical referer usage... Is it?

@nahi nahi closed this Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment