Skip to content

Commit

Permalink
add application/activity+json to accept header to improve compatibili…
Browse files Browse the repository at this point in the history
…ty (#694)
  • Loading branch information
alphatownsman committed Feb 6, 2024
1 parent b2223dd commit 72eb6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def signed_request(
body_bytes = b""
# GET requests get implicit accept headers added
if method == "get":
headers["Accept"] = "application/ld+json"
headers["Accept"] = "application/activity+json,application/ld+json"
# Sign the headers
signed_string = "\n".join(
f"{name.lower()}: {value}" for name, value in headers.items()
Expand Down

0 comments on commit 72eb6a6

Please sign in to comment.