diff options
Diffstat (limited to 'src/include/taler_mhd_lib.h')
-rw-r--r-- | src/include/taler_mhd_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_mhd_lib.h b/src/include/taler_mhd_lib.h index c836e4469..966ba6a09 100644 --- a/src/include/taler_mhd_lib.h +++ b/src/include/taler_mhd_lib.h @@ -441,4 +441,14 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn, struct TALER_MHD_Legal *legal); +/** + * Send back a "204 No Content" response with headers + * for the CORS pre-flight request. + * + * @param connection the MHD connection + * @return MHD result code + */ +int +TALER_MHD_reply_cors_preflight (struct MHD_Connection *connection); + #endif |