Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

workaround for something that looks like a ruby:http bug

the API sends deflated answers and ruby::http gets an 'invalid zlib' exception
  • Loading branch information...
commit c68bedc3206a2ae08b9051faecb857229b5d373b 1 parent 4214733
@coolo coolo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/activexml/transport.rb
View
2  lib/activexml/transport.rb
@@ -96,7 +96,7 @@ def initialize( schema, host, port )
@host = host
@port = port
@default_servers ||= Hash.new
- @http_header = {"Content-Type" => "text/plain"}
+ @http_header = {"Content-Type" => "text/plain", 'Accept-Encoding' => 'identity'}
# stores mapping information
# key: symbolified model name
# value: hash with keys :target_uri and :opt (arguments to connect method)
Please sign in to comment.
Something went wrong with that request. Please try again.