« Previous | Next » 

Revision 6ad9e577

ID6ad9e577bee1c01f8c6a3e5c6a8e33c44582e235

Added by Stavros Sachtouris about 10 years ago

Restrict http response header encoding

Refs: #5180

In ResponseManager, do not encode all headers to unicode.
Encode ONLY the headers mentioned by the caller method.

A caller method can use the headers_to_decode and header_prefices
property-getter/setter methods to set a list of header keys and
a list of header key prefices for encoding. All keys are case
insensitive.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences