RAWHEADER (JANUS DEFINE parameter)
Jump to navigation
Jump to search
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:
- 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.
- 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.