mikeal/request — pull request #536 by mikeando (2013-04-29 05:49:56+00:00)
Title: Allow explicitly empty user field for basic authentication.

The heroku api expects an empty username for authentication. request works OK if you provide that via a "username" field in the auth options, however it raises an exception if you provide an empty "user" field. Simply checking to see if the "user" field is the empty string avoids this.