You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure params beside the mimetype eg. charset, profile etc are taken into account.
put another way (perhaps more importantly), the server shouldn't end up in 400 if all it wants to do is ignore such params in Content-Type. The Content-Type value is valid after all, and it is perfectly normal for a sender to send that (even if they're not required as per LDN spec).
For reference, the LDN Test Suite sends out the equivalent of: $ curl -iX POST -H'Slug: .jsonld' -H'Content-Type: application/ld+json; profile="http://example.org/profile"; charset=utf-8' https://test.skohub.io/inbox?target=http://test.lobid.org/gnd/118696432 -d '{ "@id": "http://example.net/note#foo", "http://schema.org/citation": { "@id": "http://example.org/article#results" } }'
The text was updated successfully, but these errors were encountered:
Currently, the server gives back a
400 Bad Request
whencharset
orprofile
is set in the accept header. It should give back a 202 instead.From #11 (comment):
The text was updated successfully, but these errors were encountered: