RAWHEADER (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 10: Line 10:
</ol>   
</ol>   


The raw input header saves everything up to any posted or put (uploaded) content in CCATEMP. Since web request headers are typically quite small (a few hundred bytes), setting <var>RAWHEADER</var> is only likely to increase <var class="product">Janus Web Server</var> CCATEMP usage and CPU overhead slightly. The saving of raw posted or put content can be controlled with the [[RAWINPUT_(JANUS_DEFINE_parameter)|RAWINPUT]] or [[RAWINPUTONLY_(JANUS_DEFINE_parameter)|RAWINPUTONLY]] JANUS DEFINE parameters.
The raw input header saves everything up to any posted or put (uploaded) content in CCATEMP. Since web request headers are typically quite small (a few hundred bytes), setting <var>RAWHEADER</var> is only likely to increase <var class="product">Janus Web Server</var> CCATEMP usage and CPU overhead slightly. The saving of raw posted or put content can be controlled with the <var>[[RAWINPUT_(JANUS_DEFINE_parameter)|RAWINPUT]]</var> or <var>[[RAWINPUTONLY_(JANUS_DEFINE_parameter)|RAWINPUTONLY]]</var> <var>JANUS DEFINE</var> parameters.


This parameter is available in Version 7.5 and later of ''[[Model 204]]''.  
This parameter is available in Version 7.5 and later of [[Model 204]].  


Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.

Latest revision as of 15:13, 26 August 2014

Keep raw header stream

RAWHEADER is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter tells Janus Web Server to save the raw header stream for all HTTP requests. This has two basic advantages:

  1. The raw header for any HTTP request is available to Janus Web Server applications (via $Web_Input_Header). This could be useful for debugging, or perhaps for logging the complete headers.
  2. It is possible for Janus Web Server applications to work around Janus Web Server's conversion of the all web request header data to EBCDIC and the web request header parameter names to upper case. It also makes it possible to access the URL exactly as it was sent by the client.

The raw input header saves everything up to any posted or put (uploaded) content in CCATEMP. Since web request headers are typically quite small (a few hundred bytes), setting RAWHEADER is only likely to increase Janus Web Server CCATEMP usage and CPU overhead slightly. The saving of raw posted or put content can be controlled with the RAWINPUT or RAWINPUTONLY JANUS DEFINE parameters.

This parameter is available in Version 7.5 and later of Model 204.

Valid only for WEBSERV ports.

See also