Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastHttpUser: encoding return str when response is empty #2451

Merged

Conversation

scottARob
Copy link
Contributor

@scottARob scottARob commented Nov 8, 2023

self.encoding requires a str value. request util can return None which throws
TypeError: str() argument 'encoding' must be str, not None

fixes #2450

@cyberw cyberw changed the title issue-2450-encoding return str when None FastHttpUser: encoding return str when response is empty Nov 8, 2023
@cyberw cyberw merged commit b3587cc into locustio:master Nov 8, 2023
11 checks passed
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.18 - fasthttp error for no content response
2 participants