jnunemaker/httparty — pull request #116 by tibbon (2011-12-23 01:14:10+00:00)
Title: Added example of custom User-Agent headers

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.