Register additional serializer plugins for SPARQL mime types.#987
Conversation
|
@darrengarvey Just one thing we'd like to discuss before merging. Do we really need two different entries for I understand the content-type header can and sometimes does include the charset (or other additional parameters), do you expect the user will pass that directly into the serializer? Should there be a mimetype sanitizer that splits removes anything after a semicolon when matching the mimetype to serializer (or parser)? |
This mirrors the similar parser registrations below in the same file. With this commit, an Accept header can be used directly to serialize a response, making putting up a SPARQL compatible endpoint trivial.
517de45 to
09d0652
Compare
|
I was following the pattern from a few lines below on the parser side, which was added intentionally in #941. Actually the charset isn't valid in the |
|
Thanks. Merged, just in time for the 5.0.0 release. |
This mirrors the similar parser registrations below in the same file.
With this commit, an Accept header can be used directly to serialize a
response, making putting up a SPARQL compatible endpoint trivial.