RAWINPUTONLY (JANUS DEFINE parameter): Difference between revisions
Jump to navigation
Jump to search
m (moved RAWINPUTONLY to RAWINPUTONLY (JANUS DEFINE parameter)) |
mNo edit summary |
||
Line 13: | Line 13: | ||
</ul> | </ul> | ||
RAWINPUTONLY is very similar to the <var>[[RAWINPUT (JANUS DEFINE parameter)|RAWINPUT]]</var> port definition parameter, except that: | |||
RAWINPUTONLY is very similar to the RAWINPUT port definition parameter | |||
<ul> | <ul> | ||
<li>RAWINPUTONLY can be an ON rule parameter, so it can be set for specific URLs. | <li>RAWINPUTONLY can be an ON rule parameter, so it can be set for specific URLs. | ||
<li>RAWINPUT does not prevent '' | <li><var>RAWINPUT</var> does not prevent ''Janus Web Server'' from trying to parse the form parameters, if the <code>content-type</code> for the POST is set to <code>application/x-www-form-urlencoded</code> or <code>multipart/form-data</code>. RAWINPUTONLY prevents this parsing, so it protects ''Janus Web Server'' applications from errors in this parsing. These errors include invalid-form-data errors and request-buffer-full errors. | ||
</ul> | </ul> | ||
This parameter is only available in Version 6.8 and later of ''[[Sirius Mods]]''. | This parameter is only available in Version 6.8 and later of ''[[Sirius Mods]]''. |
Revision as of 22:01, 27 February 2012
<section begin="desc" /><section end="desc" />
RAWINPUTONLY is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.
RAWINPUTONLY indicates that, regardless of the POST data content-type set by the client, Janus Web Server should do both of the following:
- Save the raw input stream of an HTTP POST.
- Refrain from parsing the input content into form fields.
RAWINPUTONLY is very similar to the RAWINPUT port definition parameter, except that:
- RAWINPUTONLY can be an ON rule parameter, so it can be set for specific URLs.
- RAWINPUT does not prevent Janus Web Server from trying to parse the form parameters, if the
content-type
for the POST is set toapplication/x-www-form-urlencoded
ormultipart/form-data
. RAWINPUTONLY prevents this parsing, so it protects Janus Web Server applications from errors in this parsing. These errors include invalid-form-data errors and request-buffer-full errors.
This parameter is only available in Version 6.8 and later of Sirius Mods.
Valid only for WEBSERV ports.
References
See: List of Janus commands | List of JANUS DEFINE parameters.