Skip to content

Instantly share code, notes, and snippets.

@wjessop
Created July 13, 2010 14:27
Show Gist options
  • Save wjessop/473944 to your computer and use it in GitHub Desktop.
Save wjessop/473944 to your computer and use it in GitHub Desktop.
c = Curl::Easy.perform("http://someplace") do |curl|
curl.headers["Host"] = "poo.com"
curl.headers["X-Bewbs"] = "yes"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment