SteelPangolin/genderize — pull request #1 by oychang (2014-06-16 07:28:00+00:00)
Title: Verify response type and fix exception reporting

Ran into this problem when trying to do a bulk request for around 750 names. The Apache server responded with a 414 request below, and the exceptions from the `json` module confused me so I thought I would help out the next person that runs into this issue. After all, you gets 2500 requests a day, so this quantity isn't _that_ ridiculous if you don't consider how the sausage is made.

```html

414 Request-URI Too Large

Request-URI Too Large

The requested URL's length exceeds the capacity
limit for this server.

Apache/2.2.15 (CentOS) Server at vps-1154848-20754.manage.myhosting.com Port 80

```