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

Closed
wants to merge 1 commit into from

3 participants

@matsu911

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

@buildhive

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

@matsu911

Thanks

@nahi
Owner

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