We are using PageCache to cache a REST response, it seems that headers are always returned as lowercase chars afterwards, but the original input is case sensitive.
Whats the reason for this behavior? The default active data provider headers are f.e X-Pagination-Page-Count but when cached it returns x-pagination-total-count afterwards.
We are using PageCache to cache a REST response, it seems that headers are always returned as lowercase chars afterwards, but the original input is case sensitive.
https://github.com/yiisoft/yii2/blob/master/framework/filters/PageCache.php#L281
Whats the reason for this behavior? The default active data provider headers are f.e
X-Pagination-Page-Count
but when cached it returnsx-pagination-total-count
afterwards.