Sha256: c0ac65437c44b9e4d9c958b7b8e6e659cf5a4e7194f61c8d9c425d1bcf06f64a
Contents?: true
Size: 360 Bytes
Versions: 5
Compression:
Stored size: 360 Bytes
Contents
module Rack class Request # almost verbatim copy of the 'url' method; just we # don't append the full_path to the constructed url def scheme_and_host url = scheme + "://" url << host if scheme == "https" && port != 443 || scheme == "http" && port != 80 url << ":#{port}" end url end end end
Version data entries
5 entries across 5 versions & 1 rubygems