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

Ticket #542 (defect)

Opened 2 years ago

Last modified 2 years ago

_cpwsgiserver should concatenate multiple incoming headers

Status: closed (fixed)

Reported by: fumanchu Assigned to: rdelon
Priority: normal Milestone: 3.0
Component: CherryPy code Keywords:
Cc:

From http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2:

"Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma."

The WSGI spec doesn't allow for multiple headers, so the HTTP server should concatenate them into a single header for WSGI transport.

Change History

08/05/06 14:19:29: Modified by fumanchu

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

Fixed in [1213].

10/12/06 16:36:52: Modified by lawouach

Fixed in [1397] for CP2.

Hosted by WebFaction

Log in as guest/cpguest to create tickets