Skip to content

Commit

Permalink
Fixed the error when send event (#620)
Browse files Browse the repository at this point in the history
* Fixed the error when send event

fix friendsofhyperf/components#619

* Fix response header key in HttpClient.php

* Fix response header key in HttpClient.php

* Fix response header key in HttpClient.php

* feat: Update response header key in HttpClient.php

The response header key in the `HttpClient.php` file was updated to use the correct capitalization for "Queued". This change improves consistency and readability in the code.

---------

Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia authored May 10, 2024
1 parent 49e376c commit bb57138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpClient/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function sendRequest(Request $request, Options $options): Response
$chan = $this->chan;
$chan->push(fn () => parent::sendRequest($request, $options));

return new Response(202, [], 'Waiting for sendRequest');
return new Response(202, ['X-Sentry-Request-Status' => ['Queued']], '');
}

public function close(): void
Expand Down

0 comments on commit bb57138

Please sign in to comment.