Open gwire opened 2 years ago
Good catch. The stream-results response isn't fully compliant with the RFC (no ascii record separator, only newlines). I've set it to application/json for now, and when I have more time to test I'll update the parser and mimetype to json-seq.
A request for
https://www.blocked.org.uk/stream-results?url=http%3A//www.example.com
will currently include the content declarationbut the result is actually multiple lines containing json objects.
Please use JSON text sequences, per RFC 7464 with the content declaration
Also, see this note.