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/post.sh is using 
Content-type:text/xml; charset=utf-8
I would like to know why? to my understanding application/x-www is under FORM 
submission.. no?

In the file solrb/lib/solr/request/select.rb we are using ERB::Util  in line ..

if value.respond_to? :each
        value.each { |v| http_params << "#{key}=#ERB::Util::url_encode(v)}" 
unless v.nil?}
      else
        http_params << "#{key}=#{ERB::Util::url_encode(value)}" unless 
value.nil?



Shouldn't the above needs to html_escape ?? no ?? Could you please explain.

I appreciate the clarification.. 

Regards

                
---------------------------------

Stava rätt! Stava lätt! Yahoo! Mails stavkontroll tar hand om tryckfelen och 
mycket mer! Få den på http://se.mail.yahoo.com

Reply via email to