Skip to content

Http data collection - #1064

Draft
Litarnus wants to merge 5 commits into
data-collection-policyfrom
http-data-collection
Draft

Http data collection#1064
Litarnus wants to merge 5 commits into
data-collection-policyfrom
http-data-collection

Conversation

@Litarnus

@Litarnus Litarnus commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Adds data_collection compatibility to the symfony HTTP client. Bodies are not captured in this PR.

Only explicitly declared request headers are captured and not automatically added headers, since this would require hooking into the Transport to obtain this information.

Using the following call, it will only be able to capture the X-Foo header, things like Content-Length, which are automatically derived in the transport, are lost.
request("GET", "https://example.com", ['headers' => ['X-Foo' => 'bar'])

@Litarnus
Litarnus added this pull request to stack #1058 September 9, 2026 11:38
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.

1 participant