def call(env)
      method = env[:method]
      rewrite_request(env, method) if rewrite_request?(method)
      @app.call(env)
    end
def call(env)
      method = env[:method]
      rewrite_request(env, method) if rewrite_request?(method)
      @app.call(env)
    end
Public: Initialize the middleware.

 app     - the Faraday app to wrap
 options - (optional)
           :rewrite - Array of HTTP methods to rewrite
                      (default: all but GET and POST)