Re: Couple of ruby/solrb questions..

2007-01-31 Thread Chris Hostetter
: This feels like a bug, is it ticketed? Solr::Request::Select requests : are POSTing URL encoded name/value pairs so the Content-type is : appropriate...But Solr::Request::AddDocument (and others) are posting : xml so the Content-type should be text/xml. There needs to be logic : for differentiat

Re: Couple of ruby/solrb questions..

2007-01-31 Thread Edward Summers
On Jan 31, 2007, at 3:21 AM, Antonio Eggberg wrote: Hi: Two questions .. I am wondering about the following in the file solrb/lib/solr/ connection.rb we are doing http post { "Content-Type" => "application/x-www-form-urlencoded; charset=utf-8" }) however the file under example/exampledocs