diff options
Diffstat (limited to 'src/util/http.ts')
-rw-r--r-- | src/util/http.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/http.ts b/src/util/http.ts index 79039f516..93c748d79 100644 --- a/src/util/http.ts +++ b/src/util/http.ts @@ -33,6 +33,11 @@ export interface HttpRequestOptions { headers?: { [name: string]: string }; } +export enum HttpResponseStatus { + Ok = 200, + Gone = 210, +} + /** * Headers, roughly modeled after the fetch API's headers object. */ |