You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you make two requests to an empty, using KeepAlive, and the first request has a payload but the second doesn't; the second request will retain the payload of the first.
Steps To Reproduce
Steps to reproduce the behavior:
Make a request with KeepAlive with a payload
Make the same request, but no payload
Expected Behavior
The second request should not have anything in $WebEvent.Data, but it does.
Platform
OS: Windows
Versions:
Pode: v2.2.3
PowerShell: v7
Additional Context
This was found while documenting Pode.Web. The error is in PodeHttpRequest.cs line 48. The body will only be reset if there is a RawBody, this should return string.Empty if there is no RawBody available.
The text was updated successfully, but these errors were encountered:
Describe the Bug
If you make two requests to an empty, using KeepAlive, and the first request has a payload but the second doesn't; the second request will retain the payload of the first.
Steps To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The second request should not have anything in
$WebEvent.Data
, but it does.Platform
Additional Context
This was found while documenting Pode.Web. The error is in PodeHttpRequest.cs line 48. The body will only be reset if there is a RawBody, this should return
string.Empty
if there is no RawBody available.The text was updated successfully, but these errors were encountered: