HTTPVERSION (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:HTTPVERSION}} <span class="pageSubtitle"><section begin="desc" />xxx<section end="desc" /></span> HTTPVERSION is a parameter on JANUS DEFINE, which defines an...")
 
(Automatically generated page update)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:HTTPVERSION}}
<span class="pageSubtitle">HTTPVERSION xxx &mdash; http version returned to browser</span>
<span class="pageSubtitle"><section begin="desc" />xxx<section end="desc" /></span>


HTTPVERSION 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>HTTPVERSION</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


This parameter sets the HTTP version returned to the browser by <var class="product">[[Janus Web Server]]</var>. The default value is 1.0, which is what <var class="product">Janus Web Server</var> always returned before <var class="product">Sirius Mods</var> Version 6.6.


The only other permissible value for <var>HTTPVERSION</var> is 1.1. While <var class="product">Janus Web Server</var> is not a fully HTTP 1.1 compliant web server, things will generally work alright when it indicates HTTP 1.1 (since many of the HTTP 1.1 features need to be handled on an application level, anyway). Still, it is probably not a good idea to set <var>HTTPVERSION</var> to 1.1 unless you have good reason to (typically to get a browser to use HTTP 1.1 features that can be handled by the <var class="product">Janus Web Server</var> applications).


This parameter sets the HTTP version returned to the browser by ''[[Janus Web Server]]''. The default value is 1.0, which is what ''[[Janus Web Server]]'' always returned before ''[[Sirius Mods]]'' Version 6.6.  
The <var>HTTPVERSION</var> parameter is valid only for <var class="product">Janus Web Server</var> ports.


The only other permissible value for HTTPVERSION is 1.1. While ''[[Janus Web Server]]'' is not a fully HTTP 1.1 compliant web server, things will generally work alright when it indicates HTTP 1.1 (since many of the HTTP 1.1 features need to be handled on an application level, anyway). Still, it is probably not a good idea to set HTTPVERSION to 1.1 unless you have good reason to (typically to get a browser to use HTTP 1.1 features that can be handled by the ''[[Janus Web Server]]'' applications).
==See also==
<ul>
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


HTTPVERSION is available as of ''[[Sirius Mods]]'' Version 6.6.
The HTTPVERSION parameter is valid only for a ''[[Janus Web Server]]'' port.
==References==
See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


[[Category:JANUS DEFINE parameters|HTTPVERSION]]
[[Category:JANUS DEFINE parameters|HTTPVERSION]]

Latest revision as of 22:15, 16 April 2013

HTTPVERSION xxx — http version returned to browser

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

This parameter sets the HTTP version returned to the browser by Janus Web Server. The default value is 1.0, which is what Janus Web Server always returned before Sirius Mods Version 6.6.

The only other permissible value for HTTPVERSION is 1.1. While Janus Web Server is not a fully HTTP 1.1 compliant web server, things will generally work alright when it indicates HTTP 1.1 (since many of the HTTP 1.1 features need to be handled on an application level, anyway). Still, it is probably not a good idea to set HTTPVERSION to 1.1 unless you have good reason to (typically to get a browser to use HTTP 1.1 features that can be handled by the Janus Web Server applications).

The HTTPVERSION parameter is valid only for Janus Web Server ports.

See also