HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/rubygems-integration/all/gems/mechanize-2.7.7/lib/mechanize/file_request.rb
##
# 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