Replace httperror module with ganeti.http
authorMichael Hanselmann <hansmi@google.com>
Mon, 28 Jul 2008 10:16:51 +0000 (10:16 +0000)
committerMichael Hanselmann <hansmi@google.com>
Mon, 28 Jul 2008 10:16:51 +0000 (10:16 +0000)
commite2ae91230947820c78ffd780fec662a204c08cd9
tree94298c70c0a3dd3bc6852f57cb4f389cfa63d571
parentd2b92ffcd0f18fa80493095d792a9239bc5a3c4d
Replace httperror module with ganeti.http

The generic HTTP server doesn't know about httperror based exceptions
and would treat them as unknown exceptions, thereby not doing the right
thing with HTTP errors.

Reviewed-by: iustinp
lib/rapi/RESTHTTPServer.py