Send status code for http exceptions.