Skip to content

Conversation

@Sonicsmrit
Copy link

'prepare_method' previously uppercased the HTTP method before converting it to a native string, which could fail for non-string inputs such as bytes.

This change converts the method to a native string first before normalizing it. This prevents edge cases.

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.

1 participant