ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

wrong parameter in HTTP headers? #69

Closed dsatoh closed 8 years ago

dsatoh commented 8 years ago

I found a strange in HTTP headers made by sparql-client. I dumped request header, and I could find 'Accept' header as below,

application/sparql-results+json, application/sparql-results+xml, text/boolean, text/tab-separated-values;p=0.8, text/csv;p=0.2, */*;p=0.1

I assume the quality parameter is q=?.?, not p=?.?. This page may help, http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Thanks.

artob commented 8 years ago

Thanks for the report, @dsatoh. This definitely looks like a typo, so I've remedied it just now in the master branch.