Sha256: 97cacad6b1a51515a3cba71136f5e6c7820505041dcfc33ea4d2d2cbaba88319
Contents?: true
Size: 372 Bytes
Versions: 15
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true ## # A wrapper for a file URI that makes a request that works like a # Net::HTTPRequest class Mechanize::FileRequest attr_accessor :uri def initialize uri @uri = uri end def add_field *a end alias []= add_field def path @uri.path end def each_header end def response_body_permitted? true end end
Version data entries
15 entries across 15 versions & 1 rubygems