Skip to content

0.14.0

Compare
Choose a tag to compare
@lafrech lafrech released this 08 Mar 20:53

Features:

  • Allow view functions decorated with response to return a Response
    object or a tuple with status and/or headers (:pr:40).
  • Allow view functions decorated with paginate to return a tuple with
    status and/or headers (:pr:40). The pagination header is now passed
    in the response tuple. Users relying on undocumented
    get_context()['headers'] as a workaround to pass headers must update
    their code to pass headers in the response tuple as well.

Bug fixes:

  • Fix ETag computation when headers contain a duplicate key.