diff options
| author | 2024-05-22 09:43:36 +0200 | |
|---|---|---|
| committer | 2024-05-22 09:43:36 +0200 | |
| commit | 59bdaca3a87189bd6f634716e4d7ccf85081ff89 (patch) | |
| tree | 0c0c578c0bae7937aae99f76e3211afb47713266 /webfinger.c | |
| parent | Version 2.53 RELEASED. (diff) | |
| download | penes-snac2-59bdaca3a87189bd6f634716e4d7ccf85081ff89.tar.gz penes-snac2-59bdaca3a87189bd6f634716e4d7ccf85081ff89.tar.xz penes-snac2-59bdaca3a87189bd6f634716e4d7ccf85081ff89.zip | |
Change WebFinger content type to RFC-required type
Diffstat (limited to 'webfinger.c')
| -rw-r--r-- | webfinger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c index 7255ae2..2e5ec29 100644 --- a/webfinger.c +++ b/webfinger.c | |||
| @@ -214,7 +214,7 @@ int webfinger_get_handler(xs_dict *req, char *q_path, | |||
| 214 | 214 | ||
| 215 | status = 200; | 215 | status = 200; |
| 216 | *body = j; | 216 | *body = j; |
| 217 | *ctype = "application/json"; | 217 | *ctype = "application/jrd+json"; |
| 218 | } | 218 | } |
| 219 | else | 219 | else |
| 220 | status = 404; | 220 | status = 404; |