no response when status set to 500 #13

Closed
danieldkim opened this Issue Jul 3, 2010 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

danieldkim commented Jul 3, 2010

when i call request.on_screen() with a scope that has a template and a status of 500, the browser hangs and never receives a response from the server. problem seems to have to do with these lines in the on_screen() method:

if ( scope.status == 500 )
  req.send_data(scope) 

looking at the send_data() method, the first line is this:

if( !scope.body ) return

which implies that the body must be set manually and templates cannot be used with a 500 response?

dantebronto pushed a commit that referenced this issue Apr 22, 2011

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment