[python] sockety - problem s HTTP spojenim
Ondrej Beran
ondrej.beran na gmail.com
Čtvrtek Listopad 15 17:56:42 CET 2007
2007/11/15, Leos Pol <leos na radiante-corp.com>:
> BTW: kdysi davno jsem to taky zkousel a nepodarilo se mi apache donutit,
> aby mi odpovidal v HTTP/1.0
Ono to ani nejde, protoze to cislo je treba interpretovat jinak viz
RFC 2616 kapitola 3.1:
The HTTP version of an application is the highest HTTP version for
which the application is at least conditionally compliant.
A protoze v tom ma hodne lidi zmatek, vznikla dokonce extra
vysvetlujici RFC 2145
"Use and Interpretation of HTTP Version Numbers", kde to v kapitole
2.3 v podstate jen opakuji:
An HTTP server SHOULD send a response version equal to the highest
version for which the server is at least conditionally compliant, and
whose major version is less than or equal to the one received in the
request. An HTTP server MUST NOT send a version for which it is not
at least conditionally compliant.
HTH, Ondrej
Další informace o konferenci Python