60 Commits

Author SHA1 Message Date
9a5abd923f cleanup after #8171 2015-04-24 15:28:57 +02:00
be6c619de9 Fixes #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper 2015-04-24 14:30:30 +03:00
1981a620d1 Merge pull request #7660 from creocoder/response-optimization
Light Response refactoring
2015-04-20 15:10:18 +03:00
748e68f98d Fixing broken doc links to ContentNegotiator 2015-03-30 23:23:38 -05:00
4e8197e43f Light Response refactoring 2015-03-10 22:51:44 +03:00
0eecb6ab1e Fixes #7529: Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3 2015-03-04 00:41:44 +03:00
07403d3f9d Fixes #3723: yii\filters\PageCache now supports caching response headers as well as non-HTML response content 2015-02-21 19:45:44 -05:00
9028bc5aa7 Fixed header Content-Type when response is empty 2015-02-21 02:05:03 +03:00
0a6cd6190b Fixes #7051: Added support for preventing swapping values between different cookies 2015-01-28 22:29:37 -05:00
0b4896929b Fixed content-length in sendContentAsFile()
Fixed wrong Content-Length header when sending file using Response::sendContentAsFile().
2015-01-25 20:07:11 -05:00
96c4ec88ca Fixes #6889 doc fix [skip ci] 2015-01-17 19:12:48 -05:00
0cf4e7494f Removed Content-Transfer-Encoding from the list of default download headers
`Content-Transfer-Encoding` is not a valid HTTP header (cf [RFC 7230, section 3.3.1](http://tools.ietf.org/html/rfc7230#section-3.3.1), [RFC 7231, section 8.3](http://tools.ietf.org/html/rfc7231#section-8.3), [IANA Message Header Registry](http://www.iana.org/assignments/message-headers/message-headers.xhtml)). The correct HTTP pendant would be `Transfer-Encoding: identity`, which were entirely bogus.
2015-01-03 13:06:42 +01:00
875e2c3acb Fixes #4395: Added $checkAjax parameter to yii\web\Response::redirect() to support default redirection behavior for AJAX/PJAX requests 2014-12-03 10:07:09 -05:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
b1e7c753ae Fixes #2702: added doc about customizing error response format [skip ci] 2014-09-07 12:40:50 -04:00
4832760604 Removed unused "use" statements 2014-09-07 15:46:54 +04:00
d6fd45079e typo fix. 2014-09-03 12:23:16 -04:00
fa0418f8a1 Fixes #4424: Added inline and mimeType options to all file downloading methods provided in yii\web\Response 2014-08-30 22:13:42 -04:00
fe36bc9ecd options parameter extracted at yii\web\Response::xSendFile() 2014-08-19 16:31:42 +03:00
e3cea2138a Added forceDownload parameter to yii\web\Response::xSendFile() 2014-08-19 12:18:35 +03:00
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
c6c29db9b4 Fixes #4636: Added yii\web\Response::setDownloadHeaders() 2014-08-14 22:01:10 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
2bab6259d1 'Security' helper usage switched to 'security' application component. 2014-06-27 14:31:08 +03:00
109c4b44bc attempt to fix multiple header issue
fixes #3893
2014-06-25 20:39:19 +02:00
c8f6baf5ba Update Response.php
typo
2014-05-26 17:23:11 +02:00
3829b3a5ad changed comments #3446 2014-05-12 20:35:35 +04:00
48635c2d3e Update Response.php
$_SERVER['SERVER_PROTOCOL'] returns 'HTTP/1.0' or 'HTTP/1.1'
2014-04-24 03:42:23 +03:00
664d2aa007 Supported adding a new response formatter without the need to reconfigure existing formatters 2014-04-16 14:55:33 -04:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
134d3d4610 Fixes #2034: Added ContentNegotiator to support response format and language negotiation 2014-04-09 14:57:04 -04:00
c4af1569a3 typo fix [skip ci] 2014-04-08 21:03:11 -04:00
aec1b8172b Added HtmlResponseFormatter and JsonResponseFormatter 2014-04-08 20:54:07 -04:00
435747cf98 apidoc and codestyle fixes 2014-03-26 23:03:18 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
ca3b2cd057 Fix some references to removed Html::url in phpdoc 2014-03-11 11:15:21 +01:00
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
3dead3386c CS fix. 2014-02-24 07:33:16 -05:00
61767861fb Add X-PJAX-URL header when redirect a pjax request 2014-02-24 12:29:27 +01:00
d53f4dd9ea Fixes #2139: error found while sending response is not displayed. 2014-01-29 21:35:07 -05:00
3519c14e60 throw exceptions in case of invalid response content
fixes #1842
2014-01-29 00:59:41 +01:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
147b3155c8 Added contact page. Fixed various form bugs. 2013-05-03 17:09:02 -04:00
4db5041d66 removed metions of 1.1 2013-04-18 20:46:17 +04:00