Displaying 1 result from an estimated 1 matches for "httpheadersyntaxerror".
2009 May 20
1
activeresource-2.3.2 HTTPHeaderSyntaxError
...upgrading my app from 2.2.2 to 2.3.2 and am having a problem with
ActiveResource.
class FooResource < ActiveResource::Base
self.site = "whatever"
self.element_name = "foo"
end
FooResource.create(:bar => ''baz'')
raises:
Net::HTTPHeaderSyntaxError: wrong Content-Length format
from /usr/local/lib/ruby/1.8/net/http.rb:1334:in `content_length''
from /usr/local/lib/ruby/1.8/net/http.rb:2210:in `read_body_0''
from /usr/local/lib/ruby/1.8/net/http.rb:2173:in `read_body''
from /usr/local/lib/ruby/1.8/net/...