dd-trace-js
dd-trace-js copied to clipboard
update TSDoc to reflect the actual defaults for HttpClient ValidateStatus
The behavior noted in #1563 is not actually reflected in dd-trace's TSDoc comments.
The documented default states that any status-code over 400 will be treated as an error. However, the actual implementation considers HTTP 500 (and higher) statuses to be a success for HTTP client requests.