Index: lib/xmlrpc/client.rb =================================================================== --- lib/xmlrpc/client.rb (revision 33817) +++ lib/xmlrpc/client.rb (working copy) @@ -549,7 +549,9 @@ raise "HTTP-Error: #{resp.code} #{resp.message}" end - ct = parse_content_type(resp["Content-Type"]).first + # assume text/xml on instances where Content-Type header is not set + ct_expected = resp["Content-Type"] || 'text/xml' + ct = parse_content_type(ct_expected).first if ct != "text/xml" if ct == "text/html" raise "Wrong content-type (received '#{ct}' but expected 'text/xml'): \n#{data}"