aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-common.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-06-05 17:58:20 +0200
committerFlorian Dold <florian@dold.me>2023-06-05 17:58:25 +0200
commit9fca44893a6f7fcee5c828da5fc10e7d76592b5d (patch)
tree634830c7a769302d5e107f2aee323c3f705cf113 /packages/taler-util/src/http-common.ts
parent6e7c88a62073082b28ef563561d08f56acc0b017 (diff)
downloadwallet-core-9fca44893a6f7fcee5c828da5fc10e7d76592b5d.tar.xz
wallet-core: handle more p2p abort cases nicely
Diffstat (limited to 'packages/taler-util/src/http-common.ts')
-rw-r--r--packages/taler-util/src/http-common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-common.ts b/packages/taler-util/src/http-common.ts
index 4f8f12789..4f6aaaf44 100644
--- a/packages/taler-util/src/http-common.ts
+++ b/packages/taler-util/src/http-common.ts
@@ -45,7 +45,7 @@ export interface HttpResponse {
export const DEFAULT_REQUEST_TIMEOUT_MS = 60000;
export interface HttpRequestOptions {
- method?: "POST" | "PUT" | "GET";
+ method?: "POST" | "PUT" | "GET" | "DELETE";
headers?: { [name: string]: string };
/**