Define new request method constants
This commit is contained in:
parent
a8da673321
commit
9d14e36566
|
@ -8,6 +8,12 @@ export def POST: str = "POST";
|
||||||
export def PUT: str = "PUT";
|
export def PUT: str = "PUT";
|
||||||
// HTTP "DELETE" method.
|
// HTTP "DELETE" method.
|
||||||
export def DELETE: str = "DELETE";
|
export def DELETE: str = "DELETE";
|
||||||
|
// HTTP "OPTIONS" method.
|
||||||
|
export def OPTIONS: str = "OPTIONS";
|
||||||
|
// HTTP "PATCH" method.
|
||||||
|
export def PATCH: str = "PATCH";
|
||||||
|
// HTTP "CONNECT" method.
|
||||||
|
export def CONNECT: str = "CONNECT";
|
||||||
|
|
||||||
// HTTP "Continue" response status (100).
|
// HTTP "Continue" response status (100).
|
||||||
export def STATUS_CONTINUE: uint = 100;
|
export def STATUS_CONTINUE: uint = 100;
|
||||||
|
|
Loading…
Reference in a new issue