Jaymon / endpoints

Lightweight REST api backend framework that automatically maps urls to python modules and classes
MIT License
29 stars 10 forks source link

Response body errors #112

Closed Jaymon closed 8 months ago

Jaymon commented 3 years ago

turns out response body is buried, an error is raised but the server returns a 200 because the headers are already sent before the body is encoded, so all the headers are sent but body is empty

the test that should check for this is interface.WebTestCase.test_response_body_json_error