Added example of custom User-Agent headers #116

merged 1 commit into from Apr 12, 2012


None yet
2 participants

tibbon commented Dec 23, 2011

I found myself in a situation where I was testing a service that responded differently to some User-Agent headers than others (a common scenario for iPhone development or similar). I couldn't find easy documentation or example of how to user httparty to do this and found myself diving into the code itself to find what I needed to pass in.

So I made a very simple example file to demonstrate for future users how to do this. Hopefully you find it useful.

jnunemaker added a commit that referenced this pull request Apr 12, 2012

Merge pull request #116 from tibbon/master
Added example of custom User-Agent headers

@jnunemaker jnunemaker merged commit 2a38c72 into jnunemaker:master Apr 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment