summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/http.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-11-03 13:17:57 +0100
committerFlorian Dold <florian@dold.me>2021-11-03 13:17:57 +0100
commitab6fd6c8c72ac674648ef66d7bcec01f7a232410 (patch)
tree40066da2dedb3593598ac13670ae83e4001eebce /packages/taler-wallet-core/src/util/http.ts
parent082bef334659502b6b27b4f61d6f58aab90a7710 (diff)
downloadwallet-core-ab6fd6c8c72ac674648ef66d7bcec01f7a232410.tar.gz
wallet-core-ab6fd6c8c72ac674648ef66d7bcec01f7a232410.tar.bz2
wallet-core-ab6fd6c8c72ac674648ef66d7bcec01f7a232410.zip
move HTTP status codes to taler-util
Diffstat (limited to 'packages/taler-wallet-core/src/util/http.ts')
-rw-r--r--packages/taler-wallet-core/src/util/http.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/taler-wallet-core/src/util/http.ts b/packages/taler-wallet-core/src/util/http.ts
index d01f2ee42..0556d2274 100644
--- a/packages/taler-wallet-core/src/util/http.ts
+++ b/packages/taler-wallet-core/src/util/http.ts
@@ -59,17 +59,6 @@ export interface HttpRequestOptions {
body?: string | ArrayBuffer | ArrayBufferView;
}
-export enum HttpResponseStatus {
- Ok = 200,
- NoContent = 204,
- Gone = 210,
- NotModified = 304,
- BadRequest = 400,
- PaymentRequired = 402,
- NotFound = 404,
- Conflict = 409,
-}
-
/**
* Headers, roughly modeled after the fetch API's headers object.
*/