Sha256: 61c1be384d0093fcaa20c76995f9ebdb6b947f5f10c06e32124786ffbe00047d
Contents?: true
Size: 322 Bytes
Versions: 47
Compression:
Stored size: 322 Bytes
Contents
module Excon module Middleware class EscapePath < Excon::Middleware::Base def request_call(datum) # make sure path is encoded, prevent double encoding datum[:path] = Excon::Utils.escape_uri(Excon::Utils.unescape_uri(datum[:path])) @stack.request_call(datum) end end end end
Version data entries
47 entries across 47 versions & 4 rubygems