class documentation

Tests for klein.Response.

Method test_basicResponse Since methods decorated with @require don't receive the request and can't access it to set headers and response codes, instead, they can return a Response object that has those attributes.
def test_basicResponse(self): (source)

Since methods decorated with @require don't receive the request and can't access it to set headers and response codes, instead, they can return a Response object that has those attributes.