Open kaiwren opened 14 years ago
This seems to be because Patron returns an array of header values instead of a String
This has nothing to do with Patron - any time a response has a header set more than once (multiple calls to response.set_cookie in a Rails app would do it) results in an Array. Curl::Response had a bug that didn't expect arrays.
Fixed on master in dc7719804b4f2852a515fab4d00519b99a47825f - backport to branch 0.1.2 pending
results in NoMethodError: undefined method `strip' for #Array:0x101fa9428 from /lib/wrest/http_shared/headers.rb:16