lib/net/http/report.rb in net-http-report-0.1.0 vs lib/net/http/report.rb in net-http-report-0.2.0
- old
+ new
@@ -1,10 +1,12 @@
+# frozen_string_literal: true
+
# Monkey patch Net::HTTP to add support for REPORT requests
module Net
class HTTP
class Report < HTTPRequest
- METHOD = 'REPORT'.freeze
+ METHOD = 'REPORT'
REQUEST_HAS_BODY = true
RESPONSE_HAS_BODY = true
end
end
end