djsw_wrapper requires all handlers to have 200 and default in responses. Lack thereof will cause a KeyError.
There are many situations where an endpoint will never answer with 200 OK, such as answering with 201 Created, 204 No Content or any of the 3xx redirects.
djsw_wrapperrequires all handlers to have200anddefaultin responses. Lack thereof will cause aKeyError.There are many situations where an endpoint will never answer with
200 OK, such as answering with201 Created,204 No Contentor any of the3xxredirects.