Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@rin @NEETzsche
> If no Accept header field is present, then it is assumed that the client accepts all media types
The field *is* present, but in this case that should be treated like "Accept: */*". This means that the JSON should be spat back out: that's the only representation offered by the server. Attempting to guess if a UA's a browser and redirecting depending on the guess, that's worse than doing nothing.
What Pleroma should do is represent the resource or toss a 406. "Redirect or load the webapp" isn't either of those, that should not happen.