Exception: Chef::Exceptions::InvalidRedirect

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Overview

When the server sends a redirect, RFC 2616 states a user-agent should not follow it with a method other than GET or HEAD, unless a specific action is taken by the user. A redirect received as response to a non-GET and non-HEAD request will thus raise an InvalidRedirect.