search for: initialize_http_header

Displaying 1 result from an estimated 1 matches for "initialize_http_header".

2006 May 03
1
nil.strip error While trying to post xml data over https.
...connection = Net::HTTP.new(url.host, 443) connection.use_ssl = true #This is the line that causes an error response = connection.request(Net::HTTP::Post.new(url.path, request_body)) #The error occured while evaluating nil.strip # from c:/ruby/lib/ruby/1.8/net/http.rb:1138:in `initialize_http_header'' # from c:/ruby/lib/ruby/1.8/net/http.rb:1136:in `initialize_http_header'' # from c:/ruby/lib/ruby/1.8/net/http.rb:1443:in `initialize'' # from c:/ruby/lib/ruby/1.8/net/http.rb:1556:in `initialize'' # from ./lib/ups_api.rb:74:in `initiali...