Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

DiTse's avatar
Level 1

Guzzle and HTTP/2 headers

Hello all,

As this is my first post i would like to take am moment and thank you all the guys here for the great work. It's been one of the most helpful places for problems related to Laravel.

What i need help with is the following.

I am trying to make a request with GuzzleHttp at an HTTP/2 endpoint that uses some headers that start with a colon. Example:

:method: "POST"

The problem lies with the colon at the start because when i alter the name or remove them entirely the request goes through but returns a 400 status code.

Any thoughts would be really helpful.

Thank you very much.

0 likes
0 replies

Please or to participate in this conversation.