Change getMimeType and setMimeType to response->content_type.
This commit is contained in:
parent
e5adc07a05
commit
fd8f03a186
52 changed files with 138 additions and 175 deletions
|
|
@ -295,3 +295,12 @@ NEW: $session->response->status();
|
|||
|
||||
OLD: $session->http->setStatus(200);
|
||||
NEW: $session->response->status(200);
|
||||
|
||||
getMimeType and setMimeType have been removed. To set or get the content type of an HTTP response
|
||||
generated by WebGUI, access the WebGUI::Response object in the session:
|
||||
|
||||
OLD: $session->http->getMimeType();
|
||||
NEW: $session->response->content_type();
|
||||
|
||||
OLD: $session->http->setMimeType('application/json');
|
||||
NEW: $session->response->content_type('application/json');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue