FIX: Exclude `DELETE` methods from invalid request with payload.

FIX: Exclude DELETE methods from invalid request with payload.

Follow-up 105d560177e166a0491b3f0be04dd068178fb3d5

Our client side code is sending params as part of the request payload so that is going to be tricky to fix.

diff --git a/lib/middleware/anonymous_cache.rb b/lib/middleware/anonymous_cache.rb
index 814cf0c..819723f 100644
--- a/lib/middleware/anonymous_cache.rb
+++ b/lib/middleware/anonymous_cache.rb
@@ -307,7 +307,7 @@ module Middleware
       @app = app
     end
 
-    PAYLOAD_INVALID_REQUEST_METHODS = ["GET", "DELETE", "HEAD"]
+    PAYLOAD_INVALID_REQUEST_METHODS = ["GET", "HEAD"]
 
     def call(env)
       if PAYLOAD_INVALID_REQUEST_METHODS.include?(env[Rack::REQUEST_METHOD]) &&

GitHub sha: fe83baa9