ruby-rdf / sparql-client

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

Basic auth #19

Closed pdlug closed 11 years ago

pdlug commented 13 years ago

Simple addition to support basic auth if provided in the URL, e.g.

SPARQL::Client.new('http://user:pass@hostname.com/')

Needed for usage with some SPARQL endpoints. Do you have any interest in converting this over to use RestClient? I think it would clean up some of the HTTP code and features like basic auth would come along for free. I can make these changes if interested.

cldwalker commented 13 years ago

this would be nice, I also needed this while doing #17 but no response

gkellogg commented 13 years ago

I added this to my branch, which I'll release as 0.0.11 shortly. In the future, please provide specs to test changes.