challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit 12480f43b0aafe60756f3ec10106d05d9e98430c
parent 2d2206eb5e5cd9e63d02a79a163ff91ae11447db
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 19 Jul 2026 23:16:51 +0200

our spec says we default to JSON

Diffstat:
Msrc/challenger/challenger-httpd_common.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/challenger/challenger-httpd_common.c b/src/challenger/challenger-httpd_common.c @@ -42,7 +42,7 @@ CH_get_output_type (struct MHD_Connection *connection) MHD_HEADER_KIND, MHD_HTTP_HEADER_ACCEPT); if (NULL == mime) - return 0; /* default to HTML */ + return 1; /* default to JSON */ q_html = TALER_pattern_matches (mime, "text/html"); q_json = TALER_pattern_matches (mime,