Closed chengxs1994 closed 6 months ago
Hi @chengxs1994
Thank you for your PR!
Could you provide an example why this changes is necessary? As far as I understand the OpenAI docs, the headers should always be in lowercase.
According to the psr specification, the getHeaderLine method is case insensitive, but the conversion to array does not automatically convert to lowercase
https://www.php-fig.org/psr/psr-7/
While header names are not case-sensitive, getHeaders() will preserve the exact case in which headers were originally specified.
Thanks for clarification 👍
What:
Description:
Related: