mitsuhiko/werkzeug — pull request #388 by mahmoud (2013-06-12 16:23:19+00:00)
Title: HTTPException.code vs BaseResponse.status_code

Small change here: I just added a `status_code` property to `HTTPException`, which makes it more consistent with `BaseResponse`.

It's just a basic `@property`, since `HTTPException`s aren't really writable responses (the HTTP headers always return `Content-Type: text/html`, for instance). Maybe someday there'll be a merger? In the meantime, this.