Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #323 (defect)

Opened 3 years ago

Last modified 3 years ago

request.version should really be response.version

Status: closed (fixed)

Reported by: fumanchu Assigned to: fumanchu
Priority: normal Milestone: 2.1-rc2
Component: CherryPy code Keywords: protocol version
Cc:

The "version" attribute is meant to indicate which features are supported for CP output (per conversation); for example, if version is "1.0" then CP should not attempt to output 1.1 headers. Therefore, that value should go into response.version instead.

Change History

09/25/05 18:24:22: Modified by fumanchu

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [679]. cherrypy.request.version now equals request.protocol, but wrapped in a Version object for easier comparisons.

Hosted by WebFaction

Log in as guest/cpguest to create tickets