Allow explicitly empty user field for basic authentication. #536

merged 1 commit into from Apr 29, 2013


None yet

2 participants


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.

@mikeal mikeal merged commit 6d6b5da into request:master Apr 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment