aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/http.ts5
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.
*/