-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add iter_lines Method to FastHttpSession Class #3024
base: master
Are you sure you want to change the base?
Conversation
在 FastHttpSession 类中添加 iter_lines 方法
Reuses the logic of the request method and provides type annotations to enhance code readability and consistency.
fix: Remove trailing whitespace from blank line in fasthttp.py to comply with PEP 8
fix: fasthttp.py to comply with PEP 8
Looks good, but can you add a test case too? (in test_fasthttp.py) |
The lack of an endpoint that can return streaming data or a simulated response might be the reason for the test failure. |
Can you use the /streaming/:int: endpoint defined here? locust/locust/test/testcases.py Line 119 in 81116b2
|
I have just completed the implementation of the iter_lines method in FastHttpSession and successfully passed all related tests. I look forward to your review and feedback on this part of the work. |
1、Add iter_lines Method to FastHttpSession Class
2、fix: Remove trailing whitespace from blank line in fasthttp.py to comply with PEP 8
Fixes #3018