@ -2,9 +2,7 @@
# Monkey patching until https://github.com/httprb/http/pull/757 is merged
unless HTTP::Request::METHODS.include?(:purge)
module HTTP
methods = HTTP::Request::METHODS.dup
class Request
HTTP::Request.send(:remove_const, :METHODS)
METHODS = METHODS.dup.push(:purge).freeze
HTTP::Request.const_set(:METHODS, methods.push(:purge).freeze)
end