Fixed the content-type returned for the status endpoints

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-13 19:23:55 -04:00
parent 7d16145a4f
commit 886fe83b55
No known key found for this signature in database
GPG key ID: AD914585C9406B6A

View file

@ -101,6 +101,60 @@
}
},
"headers": [
{
"source": "/([^/]*)/(.*)/",
"has": [
{
"type": "header",
"key": "Accept",
"value": "application/activity\\+json"
}
],
"headers": [
{
"key": "content-type",
"value": "application/activity+json"
}
]
},
{
"source": "/([^/]*)/(.*)/",
"has": [
{
"type": "header",
"key": "Accept",
"value": "application/json"
}
],
"headers": [
{
"key": "content-type",
"value": "application/json"
}
]
},
{
"source": "/([^/]*)/(.*)/",
"missing": [
{
"type": "header",
"key": "Accept",
"value": "application/activity\\+json"
},
{
"type": "header",
"key": "Accept",
"value": "application/json"
}
],
"headers": [
{
"key": "content-type",
"value": "text/html"
}
]
},
{
"source": "/(.*).ajson",
"headers": [