Many changes have been made to the way WebOb does Accept handling, not just for the Accept header itself, but also for Accept-Charset , Accept-Encoding and Accept-Language . This was a Google Summer of Code project completed by Whiteroses (https://github.com/whiteroses). Many thanks to Google for running GSoC, the Python Software Foundation for organising and a huge thanks to Ira for completing the work. See https://github.com/Pylons/webob/pull/338 and https://github.com/Pylons/webob/pull/335.

If you were previously using the Accept class or the MIMEAccept class directly, please take a look at the documentation for create_accept_header() , create_accept_charset_header() , create_accept_encoding_header() and create_accept_language_header() .

These functions will accept a header value and create the appropriate object.

The API documentation for Accept* provides more information on the available API.