Skip to content

FastHttpUser: encoding return str when response is empty - #2451

Merged
cyberw merged 1 commit into
locustio:masterfrom
scottARob:iss_2450-return-str-when-none-on-encoding
Nov 8, 2023
Merged

FastHttpUser: encoding return str when response is empty#2451
cyberw merged 1 commit into
locustio:masterfrom
scottARob:iss_2450-return-str-when-none-on-encoding

Conversation

@scottARob

@scottARob scottARob commented Nov 8, 2023

Copy link
Copy Markdown
Contributor

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
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