alexreisner/geocoder — pull request #216 by robotmay (2012-04-11 14:19:13+00:00)
Title: Add support for customising the HTTP request headers

Greetings!

Not an enormous patch but something I've found myself needing. [Nominatim's usage policy](http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy) requests that you identify your application clearly in the User-Agent string, but I couldn't find an existing way of supplying this data.

I've attached a couple of commits which simply add support for specifying the request headers using the Configuration class. All the tests seem to pass at my end and I'm able to make requests using the new option. Hope it helps!