Carsten Brandt
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
Alexey Rogachev
37f19a0256
Fixes #13300 , #13307 , #13310 , #13312
...
- Bug #13300 : Allow pjax with "data-pjax" with no value in `yii.js`.
- Bug #13307 : Preventing of race conditions in script filter in `yii.js` works incorrectly.
- Bug #13310 : Handle relative and absolute URLs coincidence in CSS filter in `yii.js`.
- Bug #13312 : `skipOuterContainers` option was incorrectly passed to pjax in `handleAction` in `yii.js`.
- Partially fixes #13299 .
Adds tests for #8014 , #11921 , #10974 , #11494 , #10358 , #10097 .
2017-01-25 11:00:13 +03:00
zalatov
deea3cf798
Fixes #12854 : Added RangeNotSatisfiableHttpException to cover HTTP error 416 file request exceptions
2016-12-02 00:51:49 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
SilverFire - Dmitry Naumenko
e23a419732
PHPDocs updated
2016-10-12 20:29:32 +03:00
Alexander Makarov
4b43183df7
Fixes #10563 : Fixed forming Content-Disposition header for file downloads ( #12721 )
2016-10-12 11:41:21 +03:00
Carsten Brandt
4b40417972
improved docs about sendFile() in Request
2016-08-23 10:00:01 +02:00
Roman Grinyov
d8e0694aec
Added missing square bracket
2016-08-22 13:26:44 +03:00
dasmfm
91734ae83b
Fixes #11432 : Added HTTP status 421 "Misdirected Request" to list of statuses in yii\web\Response
...
Source: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
2016-05-01 01:09:37 +03:00
Klimov Paul
57ab949be5
Response::redirect() uses 200 status code if 'X-Ie-Redirect-Compatibility' header sent
2016-01-08 16:32:09 +02:00
SilverFire - Dmitry Naumenko
019587e544
yii\web\Response - fixed comparation bug introduced in #9670
2016-01-08 14:44:35 +02:00
SilverFire - Dmitry Naumenko
dc93ec3812
Bug #9670 : Fixed PJAX redirect in IE
2015-12-26 10:19:22 +02:00
Carsten Brandt
d9f8933737
added prettyPrint option to JsonResponseFormatter
...
fixes #9762
close #10412
2015-12-18 02:42:59 +01:00
kidol
603092db28
\yii\web\Response::sendHeaders() does not send status header last
...
to avoid php magic about Location: header to take effect.
Fixes #9412
close #9485
2015-12-17 06:13:41 +01:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
Alexander Mohorev
9e3d28a3d9
Fix spelling
2015-06-29 23:13:15 +03:00
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
2015-05-31 13:39:30 +03:00
Klimov Paul
886e99be11
Fixed yii\web\Response::xSendFile() does not reset format
2015-05-29 16:29:06 +03:00
Carsten Brandt
9a5abd923f
cleanup after #8171
2015-04-24 15:28:57 +02:00
Philippe Gaultier
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
Paul Klimov
1981a620d1
Merge pull request #7660 from creocoder/response-optimization
...
Light Response refactoring
2015-04-20 15:10:18 +03:00
Steven Michaels
748e68f98d
Fixing broken doc links to ContentNegotiator
2015-03-30 23:23:38 -05:00
Alexander Kochetov
4e8197e43f
Light Response refactoring
2015-03-10 22:51:44 +03:00
Alexander Makarov
0eecb6ab1e
Fixes #7529 : Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3
2015-03-04 00:41:44 +03:00
Qiang Xue
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
slavcodev
9028bc5aa7
Fixed header Content-Type when response is empty
2015-02-21 02:05:03 +03:00
Qiang Xue
0a6cd6190b
Fixes #7051 : Added support for preventing swapping values between different cookies
2015-01-28 22:29:37 -05:00
sadgnome
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
Qiang Xue
96c4ec88ca
Fixes #6889 doc fix [skip ci]
2015-01-17 19:12:48 -05:00
DaSourcerer
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
Qiang Xue
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
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
2014-09-27 21:59:54 -04:00
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
2014-09-07 12:40:50 -04:00
Alexander Makarov
4832760604
Removed unused "use" statements
2014-09-07 15:46:54 +04:00
Qiang Xue
d6fd45079e
typo fix.
2014-09-03 12:23:16 -04:00
Qiang Xue
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
Klimov Paul
fe36bc9ecd
options parameter extracted at yii\web\Response::xSendFile()
2014-08-19 16:31:42 +03:00
Klimov Paul
e3cea2138a
Added forceDownload parameter to yii\web\Response::xSendFile()
2014-08-19 12:18:35 +03:00
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant YII_PATH to YII2_PATH
2014-08-14 22:17:05 -04:00
Paweł 'Zibi' Zaremba
c6c29db9b4
Fixes #4636 : Added yii\web\Response::setDownloadHeaders()
2014-08-14 22:01:10 -04:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
2014-07-19 15:39:03 -04:00
Klimov Paul
2bab6259d1
'Security' helper usage switched to 'security' application component.
2014-06-27 14:31:08 +03:00
Carsten Brandt
109c4b44bc
attempt to fix multiple header issue
...
fixes #3893
2014-06-25 20:39:19 +02:00
Carsten Brandt
c8f6baf5ba
Update Response.php
...
typo
2014-05-26 17:23:11 +02:00
lynicidn
3829b3a5ad
changed comments #3446
2014-05-12 20:35:35 +04:00
Ceana Razvan
48635c2d3e
Update Response.php
...
$_SERVER['SERVER_PROTOCOL'] returns 'HTTP/1.0' or 'HTTP/1.1'
2014-04-24 03:42:23 +03:00