From 857c0ab4cd2253a0e1d53e3372a1ff1565cb4150 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 15 Dec 2019 19:04:14 +0100 Subject: introduce refund groups, react correctly to 410 Gone for /refund --- src/util/http.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util') 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. */ -- cgit v1.2.3