~cytrogen/masto-fe

ref: 6375e390af924649348832d30568e0948871e92b masto-fe/lib/http_extensions.rb -rw-r--r-- 250 bytes
6375e390 — Emelia Smith Fix: support both DATABASE_URL and DB_PASS (#26295) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# Monkey patching until https://github.com/httprb/http/pull/757 is merged
unless HTTP::Request::METHODS.include?(:purge)
  module HTTP
    class Request
      METHODS = METHODS.dup.push(:purge).freeze
    end
  end
end