HTTPVERSION (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(No difference)

Revision as of 23:03, 6 December 2011

<section begin="desc" />HTTPVERSION xxx -- http version returned to browser<section end="desc" />

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

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).

HTTPVERSION is available as of Sirius Mods Version 6.6.

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

References

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