Specify correct status code in response