class Addressable::URI
def request_uri
-
(String)
- The request URI required for an HTTP request.
def request_uri return nil if self.absolute? && self.scheme !~ /^https?$/i return ( (!self.path.empty? ? self.path : SLASH) + (self.query ? "?#{self.query}" : EMPTY_STR) ) end