guzzle / psr7

PSR-7 HTTP message library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use Microsoft Graph endpoints - "2.1.12570.11 - NCUS ProdSlices" is not valid header value

dinamic opened this issue · comments

PHP version: 7.4

Description
We make use of Microsoft Graph endpoints and with the most recent version we've got the following exception to pop up:

"2.1.12570.11 - NCUS ProdSlices" is not valid header value

This change seems to be part of the recent changes:

I have not checked the RFC about it, but it feels odd that we can't send those headers anymore.

Shouldn't the receiving side be validating them, not the sending one?

Fixed in 1.8.5.