[Web-SIG] HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH
Manlio Perillo
manlio_perillo at libero.it
Wed Dec 12 22:48:03 CET 2007
Phillip J. Eby ha scritto:
> At 02:40 PM 12/12/2007 -0600, Ian Bicking wrote:
>> Having the same header show up in
>> multiple places seems dangerous (where the two values may not match,
>> especially if the request has one of those keys rewritten).
>
> I agree -- this probably should be added to the WSGI spec, because
> otherwise middleware has to take both versions into account.
>
A WSGI application/middleware SHOULD just ignore HTTP_CONTENT_TYPE and
HTTP_CONTENT_LENGHT.
Manlio Perillo
More information about the Web-SIG
mailing list