diff --git a/server/src/apub/fetcher.rs b/server/src/apub/fetcher.rs index ed98434b4..71453a2a4 100644 --- a/server/src/apub/fetcher.rs +++ b/server/src/apub/fetcher.rs @@ -73,7 +73,7 @@ where // TODO: this function should return a future let timeout = Duration::from_secs(60); let text = Request::get(url.as_str()) - .header("Content-Type", APUB_JSON_CONTENT_TYPE) + .header("Accept", APUB_JSON_CONTENT_TYPE) .connect_timeout(timeout) .timeout(timeout) .body(())?