Skip to content

Conversation

@j-bodek
Copy link
Contributor

@j-bodek j-bodek commented Dec 3, 2022

In this change, I replaced the partition method with split to increase code readability. Moreover now if the user provides credentials data without ':' AuthenticationFailed exception will be raised (to follow the basic authentication schema). Previously if the password was an empty string user could authenticate by passing credentials without a colon and password.

Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add tests as well?

@j-bodek j-bodek requested a review from auvipy December 4, 2022 08:42
@auvipy
Copy link
Collaborator

auvipy commented Dec 7, 2022

should we update docs in related section for this change? can you please check?

@j-bodek
Copy link
Contributor Author

j-bodek commented Dec 7, 2022

I just checked API Clients, Authentication, and Testing sections, and no updates are needed.

@auvipy auvipy added this to the 3.15 milestone Dec 8, 2022
@auvipy auvipy merged commit 1355890 into encode:master Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants