Sha256: c85337535e23a20329ef71504b8e3d8b62d76e32f26402e8f681b88dfa12cd9b

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

# Monkey patch Net::HTTP to add support for REPORT requests

module Net
  class HTTP
    class Report < HTTPRequest
      METHOD = 'REPORT'
      REQUEST_HAS_BODY = true
      RESPONSE_HAS_BODY = true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
net-http-report-0.3.0 lib/net/http/report.rb
net-http-report-0.2.0 lib/net/http/report.rb