Skip to content

Commit

Permalink
Symfony HttpClient constains new HTTP_USER_AGENT
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Nov 10, 2023
1 parent 5551e46 commit c2fcdf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/AmpHttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public function testHttp404(): void
'HTTP_ACCEPT' => '*/*',
'HTTP_CONTENT_LENGTH' => '7',
'HTTP_CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'HTTP_USER_AGENT' => 'Symfony HttpClient/Amp',
'HTTP_USER_AGENT' => 'Symfony HttpClient (Amp)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => '127.0.0.1:8057',
],
Expand Down
2 changes: 1 addition & 1 deletion tests/CurlHttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public function testHttp404(): void
'REQUEST_METHOD' => 'POST',
'HTTP_HOST' => '127.0.0.1:8057',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Symfony HttpClient/Curl',
'HTTP_USER_AGENT' => 'Symfony HttpClient (Curl)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_CONTENT_LENGTH' => '7',
'HTTP_CONTENT_TYPE' => 'application/x-www-form-urlencoded',
Expand Down
2 changes: 1 addition & 1 deletion tests/NativeHttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public function testHttp404(): void
'HTTP_CONTENT_LENGTH' => '7',
'HTTP_CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_USER_AGENT' => 'Symfony HttpClient/Native',
'HTTP_USER_AGENT' => 'Symfony HttpClient (Native)',
'HTTP_HOST' => '127.0.0.1:8057',
],
],
Expand Down

0 comments on commit c2fcdf5

Please sign in to comment.