diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-02-02 15:07:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-02-02 15:07:24 +0100 |
commit | 068433c5e7c99866a58d6be146fe25b36bb4d5b8 (patch) | |
tree | ff7b102d567a96c0bd83b38b6e5e22b5d8d67168 /src/include/platform.h | |
parent | 96726fd5ab6dc067af4957c3d1826f9fd2745c95 (diff) |
add rudimentary test logic for #6731
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index b843c298..70c296fd 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014, 2015, 2016 GNUnet e.V. and INRIA + Copyright (C) 2014, 2015, 2016, 2021 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -55,6 +55,16 @@ to "ancient" MHD releases. */ #define MHD_NO_DEPRECATION 1 + +/** + * Required prefix for the authorization header as per RFC 8959. + * (Follows RFC 6750 albeit technically violates RFC 7235, but + * Mark Nottingham thinks this should be fixed by revising HTTP + * spec (https://github.com/httpwg/http-core/issues/733)) + */ +#define RFC_8959_PREFIX "Bearer secret-token:" + + #endif /* PLATFORM_H_ */ /* end of platform.h */ |