Closed olly closed 7 months ago
Sorry about that - I thought I had tested this against rack 2.x but it looks like it was unintentionally loading the wrong versions and I didn't notice. I'll take a look at this today.
Yes the possible solutions at this point appear to be:
We encountered the same issue after a minor version update of savon from 2.14 to 2.15. With this httpi was also updated to 4.0.0.
Fixating our Gemfile to httpi < 4 fixed this for now.
Same issue
The change in https://github.com/savonrb/httpi/commit/56cd67bf0da61c39552be1d9fc9bff6f33315284 to use
Rack::Headers
isn't backwards compatible with Rack v2. However the gemspec still specifies compatibility with Rack v2.In our case we upgraded
savon
, which in turn upgradedhttpi
, howeverrack
wasn't upgraded, causing these errors.I believe possible solutions are either to restrict the gemspec to depend on
rack >= 3.0.0
or to support both theRack::Headers
andRack::Utils::HeaderHash
interfaces (as suggested in this comment).