Skip to content

[v9]: Attach responseBody to hints #2637

@buenaflor

Description

@buenaflor

Description

  • we try to read the content-length header
  • if no headers present, we don't read the body because we don't know the size of it
  • otherwise if a header exists, we introduce a hard limit, maybe 0.15mb or higher, this is what javascript does for replay and read the body if it is under the threshold
  • if it exceeds the hard limit we don't read the body

The read body is then attached to the hints in beforeSend and beforeSendTransaction and the user can then query it themselves if it is available

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions