Closed RafaelKr closed 1 month ago
In my last PR #402 @QWp6t removed the ltrim. This leads to one added leading space to every header value. See https://github.com/roots/acorn/issues/404#issuecomment-2391024852
ltrim
This PR can handle the case X-Header:Value which #402 already fixed without adding or removing leading whitespace in other cases.
X-Header:Value
Examples:
'X-Header:Value' => ['X-Header', 'Value'] 'X-Header: Value' => ['X-Header', 'Value'] 'X-Header: Value' => ['X-Header', ' Value'] 'X-Header: Value' => ['X-Header', ' Value']
I appreciate your persistence and thanks for clarifying the issue. 🙏
In my last PR #402 @QWp6t removed the
ltrim
. This leads to one added leading space to every header value. See https://github.com/roots/acorn/issues/404#issuecomment-2391024852This PR can handle the case
X-Header:Value
which #402 already fixed without adding or removing leading whitespace in other cases.Examples: