my eye

Add Accept types and Content-Type to AP signed request

Committed ab88d2

--- a/webint_owner/__init__.py
+++ b/webint_owner/__init__.py

 
 def ap_request(url, data=None):
     headers = {
-        "Accept": "application/activity+json",
+        "Accept": "application/activity+json; q=0.9, "
+        'application/ld+json; profile="https://www.w3.org/ns/activitystreams"; q=0.8, '
+        "text/html; charset=utf-8; q=0.7",
+        "Content-Type": "application/activity+json",
         "Date": web.now().strftime("%a, %d %b %Y %H:%M:%S GMT"),
         "Digest": f"SHA-256={b64encode(sha256(data or b'').digest()).decode()}",
         "Host": easyuri.parse(url).host,