BaseXdb/basex-api — pull request #58 by dimitarp (2012-04-21 00:45:18+00:00)
Title: Http fixes

Notes:
1. The method ErrorHandler.handle() had be overridden, since the content type of the response can be set only there.
2. HTTPContext.status() is called in RestXqResponse; I haven't replaced this call with sendError() since, I'm not sure what are the possible values of the status code (i.e. if it represents an error or not).