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 the request has a body and this setting is disabled, the body will be shown as [REDACTED].
However, here in the code we set the body to [REDACTED] always if we can't read the body. There are cases where based on the CaptureBody setting we'd read the body, but the agent is unable to do so. E.g. here.
So the situation is:
Request body is set to something other than 'off' and the body would be captured
Agent tries to capture it, but it fails to do so (e.g. due to buffering setting).
Current behaviour: we set body to [REDACTED] as if the setting would be off. This is confusing.
Expected behaviour: the body should remain empty. (Plus the agent print waring log already).
The text was updated successfully, but these errors were encountered:
Our doc for CaptureBody says:
However, here in the code we set the body to
[REDACTED]
always if we can't read the body. There are cases where based on theCaptureBody
setting we'd read the body, but the agent is unable to do so. E.g. here.So the situation is:
Current behaviour: we set body to
[REDACTED]
as if the setting would beoff
. This is confusing.Expected behaviour: the body should remain empty. (Plus the agent print waring log already).
The text was updated successfully, but these errors were encountered: