http: rename HttpdException to HTTPException
This commit is contained in:
parent
caacad97dd
commit
37a7b67164
2 changed files with 10 additions and 9 deletions
7
http.d
7
http.d
|
@ -1,5 +1,7 @@
|
|||
module http;
|
||||
|
||||
import std.exception;
|
||||
|
||||
enum HTTPMethod
|
||||
{
|
||||
GET,
|
||||
|
@ -32,4 +34,9 @@ struct HTTPResponse
|
|||
string httpVersion = "HTTP/1.1";
|
||||
}
|
||||
|
||||
class HTTPException : Exception
|
||||
{
|
||||
mixin basicExceptionCtors;
|
||||
}
|
||||
|
||||
alias HTTPModule = HTTPResponse delegate (HTTPRequest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue