code: function matchesMethod(method, opts) {
    var methods = !opts.method || Array.isArray(opts.method) ?
      opts.method : [opts.method];
  
    if (methods) {
      return !!~methods.indexOf(method);
    }
  }
docs: Returns boolean indicating whether the request method matches the configured methods.
  
  @param requestedUrl - url requested by user
  @param opts - unless configuration
  @returns {boolean}