CRLF (JANUS DEFINE parameter): Difference between revisions
(Created page with "{{DISPLAYTITLE:CRLF}} <span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span> CRLF is a parameter on JANUS DEFINE, which defines and sets characteri...") |
(Automatically generated page update) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle">Separate outgoing lines by carriage-return/line-feed on web requests</span> | |||
<span class="pageSubtitle"> | |||
<var>CRLF</var> is a parameter on <var>[[JANUS DEFINE]]</var>, 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 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 CR and LF parameters. | The <var>CRLF</var> parameter is mutually exclusive with the <var>[[CR (JANUS DEFINE parameter)|CR]]</var> and <var>[[LF (JANUS DEFINE parameter)|LF]]</var> 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. | 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>, <var>LF</var>, and <var>CRLF</var> parameters might prove helpful. | ||
The default setting for CR, LF, and CRLF is CR. | The default setting for <var>CR</var>, <var>LF</var>, and <var>CRLF</var> is <var>CR</var>. | ||
The JANUS DEFINE setting for CR, LF, or CRLF can be | The <var>JANUS DEFINE</var> setting for <var>CR</var>, <var>LF</var>, or <var>CRLF</var> can be overridden by the corresponding parameter setting on a <var>[[JANUS WEB ON]]</var> rule or a <var>[[$Web_Proc_Send]]</var> parameter. | ||
Valid only for WEBSERV ports. | Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports. | ||
== | ==See also== | ||
<ul> | |||
<li>[[List of Janus commands]] | |||
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]] | |||
</ul> | |||
[[Category:JANUS DEFINE parameters|CRLF]] | [[Category:JANUS DEFINE parameters|CRLF]] |
Latest revision as of 21:52, 16 April 2013
Separate outgoing lines by carriage-return/line-feed on web requests
CRLF 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 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_Proc_Send parameter.
Valid only for WEBSERV ports.