这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

This fixes a bug for some routers & Go versions where attempting to write a body after a status code of 204 No Content or 304 Not Modified have been sent results in a panic.

@codecov
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.60%. Comparing base (00fc8c3) to head (e568619).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files          21       21           
  Lines        3515     3516    +1     
=======================================
+ Hits         3255     3256    +1     
  Misses        221      221           
  Partials       39       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielgtaylor danielgtaylor merged commit e66ddf3 into main Apr 19, 2024
@danielgtaylor danielgtaylor deleted the fix-204-304-body branch April 19, 2024 05:16
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