Qiang Xue
|
96c4ec88ca
|
Fixes #6889 doc fix [skip ci]
|
10 years ago |
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.
|
10 years ago |
Qiang Xue
|
875e2c3acb
|
Fixes #4395: Added `$checkAjax` parameter to `yii\web\Response::redirect()` to support default redirection behavior for AJAX/PJAX requests
|
10 years ago |
Qiang Xue
|
d2b864da84
|
prepare for 2.0.0-rc release.
|
10 years ago |
Qiang Xue
|
b1e7c753ae
|
Fixes #2702: added doc about customizing error response format [skip ci]
|
10 years ago |
Alexander Makarov
|
4832760604
|
Removed unused "use" statements
|
10 years ago |
Qiang Xue
|
d6fd45079e
|
typo fix.
|
10 years ago |
Qiang Xue
|
fa0418f8a1
|
Fixes #4424: Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response`
|
10 years ago |
Klimov Paul
|
fe36bc9ecd
|
`options` parameter extracted at `yii\web\Response::xSendFile()`
|
10 years ago |
Klimov Paul
|
e3cea2138a
|
Added `forceDownload` parameter to `yii\web\Response::xSendFile()`
|
10 years ago |
Qiang Xue
|
88d38b7820
|
Fixes #4501: Renamed the constant `YII_PATH` to `YII2_PATH`
|
10 years ago |
Paweł 'Zibi' Zaremba
|
c6c29db9b4
|
Fixes #4636: Added `yii\web\Response::setDownloadHeaders()`
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Qiang Xue
|
4e4e76e883
|
Request::cookieValidationKey must be explicitly specified now.
|
10 years ago |
Klimov Paul
|
2bab6259d1
|
'Security' helper usage switched to 'security' application component.
|
10 years ago |
Carsten Brandt
|
109c4b44bc
|
attempt to fix multiple header issue
fixes #3893
|
10 years ago |
Carsten Brandt
|
c8f6baf5ba
|
Update Response.php
typo
|
11 years ago |
lynicidn
|
3829b3a5ad
|
changed comments #3446
|
11 years ago |
Ceana Razvan
|
48635c2d3e
|
Update Response.php
$_SERVER['SERVER_PROTOCOL'] returns 'HTTP/1.0' or 'HTTP/1.1'
|
11 years ago |
Qiang Xue
|
664d2aa007
|
Supported adding a new response formatter without the need to reconfigure existing formatters
|
11 years ago |
Qiang Xue
|
0b29c9607d
|
fixed broken API links [skip ci]
|
11 years ago |
Qiang Xue
|
134d3d4610
|
Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
|
11 years ago |
Qiang Xue
|
c4af1569a3
|
typo fix [skip ci]
|
11 years ago |
Qiang Xue
|
aec1b8172b
|
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
|
11 years ago |
Carsten Brandt
|
435747cf98
|
apidoc and codestyle fixes
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Christophe BOULAIN
|
ca3b2cd057
|
Fix some references to removed Html::url in phpdoc
|
11 years ago |
Alexander Makarov
|
5d6c314d4e
|
Adjusted URL helper, fixed usage
|
11 years ago |
Alexander Makarov
|
92b381795b
|
Adjusted Url helper methods
|
11 years ago |
Alexander Makarov
|
3400eb5215
|
#2630: `yii\heplers\Html::url` moved to new `yii\helpers\Url::create`
|
11 years ago |
Qiang Xue
|
3dead3386c
|
CS fix.
|
11 years ago |
tof06
|
61767861fb
|
Add X-PJAX-URL header when redirect a pjax request
|
11 years ago |
Qiang Xue
|
d53f4dd9ea
|
Fixes #2139: error found while sending response is not displayed.
|
11 years ago |
Carsten Brandt
|
3519c14e60
|
throw exceptions in case of invalid response content
fixes #1842
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
c6c51baa3c
|
Fixes #1844: `Response::sendFile()` and other file sending methods will not send the response
|
11 years ago |
Qiang Xue
|
50703f8a82
|
Fixes #1844: Calling `Response::sendFile()` would cause sending the response twice
|
11 years ago |
Alexander Makarov
|
a29df58516
|
Removed translations for messages intended for developers
|
11 years ago |
Qiang Xue
|
34dc150f63
|
doc fixes.
|
11 years ago |
Carsten Brandt
|
5eed149f24
|
fixed links in phpdoc
|
11 years ago |
Alexander Makarov
|
404757bf82
|
Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON
|
11 years ago |
Alexander Kozhevnikov
|
41d24ee903
|
Replace request with response in code example
|
11 years ago |
Alexander Makarov
|
26767735dc
|
Renamed byte methods, moved path methods back to StringHelper
|
11 years ago |
Alexander Makarov
|
5f2a612c78
|
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
|
11 years ago |
Panagiotis Moustafellos
|
58bd2fb958
|
Only whitespace removal
|
11 years ago |
Panagiotis Moustafellos
|
f6a3496e8d
|
Removed trailing whitespace.. (OCD really kicking in)
|
11 years ago |
Qiang Xue
|
248e0cb916
|
Added default status code setting.
|
11 years ago |