CRLF (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Separate outgoing lines by carriage-return/line-feed on web requests.<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Separate outgoing lines by carriage-return/line-feed on web requests.<section end="desc" /></span>


CRLF is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>CRLF</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


This parameter indicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').  
This parameter indicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').  


The CRLF parameter is mutually exclusive with the <var>[[CR (JANUS DEFINE parameter)|CR]]</var> and LF parameters.  
The <var>CRLF</var> parameter is mutually exclusive with the <var>[[CR (JANUS DEFINE parameter)|CR]]</var> and LF 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 <var>CR</var>, LF, and CRLF parameters might prove helpful.  
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 <var>CR</var>, LF, and <var>CRLF</var> parameters might prove helpful.  


The default setting for <var>CR</var>, LF, and CRLF is CR.  
The default setting for <var>CR</var>, LF, and <var>CRLF</var> is CR.  


The JANUS DEFINE setting for <var>CR</var>, LF, or CRLF can be over-ridden by the corresponding parameter setting on a JANUS WEB ON rule or a [[$Web_ProcSend]] parameter.  
The JANUS DEFINE setting for <var>CR</var>, LF, or <var>CRLF</var> can be overridden by the corresponding parameter setting on a JANUS WEB ON rule or a [[$Web_ProcSend]] parameter.  


Valid only for WEBSERV ports.
Valid only for WEBSERV ports.

Revision as of 20:11, 24 February 2012

<section begin="desc" />Separate outgoing lines by carriage-return/line-feed on web requests.<section end="desc" />

CRLF is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

This parameter indicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').

The CRLF parameter is mutually exclusive with the CR and LF 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_ProcSend parameter.

Valid only for WEBSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.