Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow explicitly empty user field for basic authentication. #536
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.