question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Basic auth with integer username broken in 2.12.2

See original GitHub issue

Previously, it was possible to set auth to something like (42,'password'). This has worked fine since before requests hit 1.0. 2.12.2, a patch release, broke this, causing failures such as the ones seen in this Travis build.

I am not saying the new behavior is incorrect, but this is a breaking change.

This is similar but not the same as #3750, #3736, and #3751.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Lukasacommented, Dec 9, 2016

This will be resolved in a future release. =)

0reactions
Lukasacommented, Dec 8, 2016

For the master branch we want a check that says if not isinstance(user/pass, basestring) then we cast to str.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 2 Basic Authentication not working - Stack Overflow
I'm trying to connect/ do a POST request to an API with Angular2, It's a very simple API with a Basic Authentication password....
Read more >
Deprecation of Basic authentication in Exchange Online
Basic authentication simply means the application sends a username and password with every request, and those credentials are also often ...
Read more >
Can you pass user/pass for HTTP Basic Authentication in URL ...
It is indeed not possible to pass the username and password via query parameters in standard HTTP auth. Instead, you use a special...
Read more >
Hibernate ORM 5.2.18.Final User Guide - Red Hat on GitHub
Hibernate provides a number of built-in basic types, which follow the natural mappings recommended by the JDBC specifications. Internally Hibernate uses a ...
Read more >
Docker Compose release notes
Fixed compose#9983; Fixed parsing issue when a container number label is ... or additional information, check the Compose repository 2.12.2 release page.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found