silverstripe-framework/control
Ingo Schommer dc650e3cf1 Clarify use of HTTP Pragma response header
The HTTP Pragma header is obsolete for HTTP 1.1,
and technically only defined for a HTTP request (not response).
Refer to https://www.mnot.net/cache_docs/#PRAGMA
,http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.32.
It is superseded by the "Cache-Control" directive.

See HTTP 1.1 spec at https://tools.ietf.org/html/rfc7234#section-5.4:
'Because the meaning of "Pragma: no-cache" in responses is
not specified, it does not provide a reliable replacement for
"Cache-Control: no-cache" in them.'

Sending a "Pragma: nocache" response header is a prudent
backwards compatibility measure for HTTP 1.0 clients.
The intended behaviour is for the majority clients as well as any
intermediary proxies to ignore this header.

Sending an empty Pragma is a known hack
for preventing PHP from adding "Pragma: nocache" to responses
with started sessions (see http://php.net/session_cache_limiter),
since PHP does not allow unsetting existing header() calls.
2015-09-01 11:45:30 +12:00
..
injector Ensuring classinfo is case insensitive 2015-07-28 11:17:50 +01:00
ContentNegotiator.php BUGFIX: added <param> tag to ContentNegotiator filtering 2013-09-19 17:30:36 +02:00
Controller.php Fix merge / test regressions 2015-05-28 16:59:05 +12:00
Cookie.php Ensure Cookie::get() will immediately return results. 2013-06-07 11:27:15 +12:00
Director.php Ensure only trusted proxy servers have control over certain HTTP headers 2015-05-28 10:12:46 +12:00
FlushRequestFilter.php Correct regression around ?flush 2014-10-30 20:51:05 +11:00
HTTP.php Clarify use of HTTP Pragma response header 2015-09-01 11:45:30 +12:00
HTTPRequest.php Ensure only trusted proxy servers have control over certain HTTP headers 2015-05-28 10:12:46 +12:00
HTTPResponse.php Add more 3xx status codes to SS_HTTPResponse::isFinished method 2015-03-26 11:48:24 +13:00
NullHTTPRequest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PjaxResponseNegotiator.php Update @package, @subpackage labels 2013-05-21 22:24:41 +12:00
RequestFilter.php BUG Fix Versioned stage not persisting in Session. Fixes #962 2014-05-06 14:11:44 +12:00
RequestHandler.php API Enforce $allowed_actions in RequestHandler->checkAccessAction() 2013-06-24 14:50:40 +02:00
RequestProcessor.php NEW Provide a consistent way of triggering flush 2014-08-22 09:24:27 +12:00
Session.php Session keys are case sensitive 2014-10-24 09:59:28 +02:00
VersionedRequestFilter.php BUG Fix Versioned stage not persisting in Session. Fixes #962 2014-05-06 14:11:44 +12:00