aurora-sim/Aurora-Sim — pull request #157 by keverw (2013-08-02 07:20:30+00:00)
Title: Fixed problem where status code would always be returned as 200 to http_response regardless of actual status code

Removed `Status = (int) HttpStatusCode.OK;` as every request in http_response(key request_id, integer status, list metadata, string body) would return 200, regardless as the actual status code. So if the page was not found, you got 200 instead of 404. If you hit a page in maintenance mode you get 200 instead of 503.

The `Status` code variable was always being over written to 200 before returning what the actual server returned when doing a llHTTPRequest. Removed that line of code and everything seems to work as expected.