mirror of https://github.com/mastodon/mastodon
Update dependency http to '~> 5.2.0' (#30027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Claire <claire.github-309c@sitedethib.com>pull/29087/head
parent
2ef098d01c
commit
483fabf48a
@ -1,8 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Monkey patching until https://github.com/httprb/http/pull/757 is merged
|
||||
unless HTTP::Request::METHODS.include?(:purge)
|
||||
methods = HTTP::Request::METHODS.dup
|
||||
HTTP::Request.send(:remove_const, :METHODS)
|
||||
HTTP::Request.const_set(:METHODS, methods.push(:purge).freeze)
|
||||
end
|
Loading…
Reference in New Issue