Set HTTP status code in Web Dev module

See the note in the docs regarding request['servletResponse']. That provides direct access to the HttpServletResponse, where you can do pretty much anything you need. Be sure to return None from the doWhatever method.

2 Likes