1. Ian Bicking
  2. WebOb
Issue #23 invalid

Request._charset__get doc string doesn't match implementation

Anonymous created an issue

The doc strings says: {{{


If the request was sent with a charset parameter on the Content-Type, that will be used. Otherwise if there is a default charset (set during construction, or as a class attribute) that will be returned. Otherwise None. }}}

But the actual code results UTF-8.

See http://www.ietf.org/rfc/rfc2616.txt section 3.4.1 and http://www.ietf.org/rfc/rfc2854.txt section 6 for what should actually happen.