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

Handle invalid http request with empty body #6 #10

Merged
merged 1 commit into from
Sep 24, 2022
Merged

Handle invalid http request with empty body #6 #10

merged 1 commit into from
Sep 24, 2022

Conversation

villekr
Copy link
Owner

@villekr villekr commented Sep 24, 2022

Respond with 400 if http request doesn't contain body.

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2022

Codecov Report

Base: 75.53% // Head: 74.68% // Decreases project coverage by -0.85% ⚠️

Coverage data is based on head (c2dcda3) compared to base (4151d33).
Patch coverage: 15.38% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   75.53%   74.68%   -0.86%     
==========================================
  Files          11       11              
  Lines         466      474       +8     
==========================================
+ Hits          352      354       +2     
- Misses        114      120       +6     
Impacted Files Coverage Δ
ocpp_asgi/app.py 61.06% <15.38%> (-2.35%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@villekr villekr self-assigned this Sep 24, 2022
@villekr villekr merged commit 77df758 into main Sep 24, 2022
@villekr villekr changed the title Handle invalid http request with empty body #3 Handle invalid http request with empty body #6 Sep 24, 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