utils.rb

Path: lib/faraday/utils.rb
Last Update: Thu Nov 10 21:45:21 +0000 2016

Required files

thread   uri  

Methods

Constants

ESCAPE_RE = /[^a-zA-Z0-9 .~_-]/
DEFAULT_SEP = /[&;] */n

Public Instance methods

Normalize URI() behavior across Ruby versions

url - A String or URI.

Returns a parsed URI.

Recursive hash merge

Recursive hash update

Receives a String or URI and returns just the path with the query string sorted.

Adapted from Rack

Protected Instance methods

[Validate]