mirror of
git://develop.git.wordpress.org/
synced 2025-02-12 10:50:25 +01:00
Gary Pendergast
b3a6124e3d
General: Remove the
Pragma
header from responses.
`Pragma` is supposed to be a request header, but we've been including it in responses since the beginning of time. This is a relic dating all the way back to b2, probably originally added because Internet Explorer version 5 and earlier didn't understand the `Cache-Control` header in responses, but they did (incorrectly) obey the `Pragma` header. Internet Explorer 6 and 7 will obey the `Pragma` response header only if no other cache-related response headers are present (in our case, they are always present), and all other browsers ignore the `Pragma` response header. Props geekysoft. Fixes #37250. git-svn-id: https://develop.svn.wordpress.org/trunk@37944 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%