CR (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
(Automatically generated page update)
Line 1: Line 1:
{{DISPLAYTITLE:CR}}
{{DISPLAYTITLE:CR}}
<span class="pageSubtitle"><section begin="desc" />Separate outgoing lines by carriage return on web requests<section end="desc" /></span>
<span class="pageSubtitle">Separate outgoing lines by carriage return on web requests</span>


<var>CR</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  
<var>CR</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  

Revision as of 21:52, 16 April 2013

Separate outgoing lines by carriage return on web requests

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

This parameter indicates that lines of text data sent to a browser should be separated by the ASCII carriage return character (X'0D').

The CR parameter is mutually exclusive with the LF and CRLF parameters.

While most browsers will correctly display text data whether the line separator is CR, LF, or CR/LF, other non-browser applications might not process one or the other correctly. If text data is being saved from the browser and is not being correctly processed by another application (either appearing as one big line or with non-displayable characters at the end of each line) then experimenting with the CR, LF, and CRLF parameters might prove helpful. The default setting for CR, LF, and CRLF is CR.

The JANUS DEFINE setting for CR, LF, or CRLF can be overridden by the corresponding parameter setting on a JANUS WEB ON rule or a $Web_Proc_Send parameter.

Valid only for WEBSERV ports.

See also