Changes

Jump to navigation Jump to search
568 bytes removed ,  11:23, 28 March 2015
};
</pre>
 
The content type can also be overwritten by specifying an output {{Code|method}}. The following method mappings are available:
 
* <code>xml</code> → <code>application/xml</code>
* <code>xhtml</code> → <code>text/html</code>
* <code>html</code> → <code>text/html</code>
* <code>text</code> → <code>text/plain</code>
* <code>json</code> → <code>application/json</code>
* <code>raw</code> → <code>application/octet-stream</code>
 
When using <code>raw</code>, binary data will be sent in its original byte representation, i. e., without further conversion.
=Error Handling=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu