A remote_file resource downloading a URI responding with a "303 See Other" fails.
patch submitted: https://github.com/opscode/chef/pull/206
More correct way is in my fork.
Marked to be merged, thanks.
Also, the rest spec tests for redirection. Akzhan, could you add a 303 test and make sure the 304 exception does at is should?
I cargoculted the 301 test for a 303 test and it fails. We need a passing 303 test and should have a passing 304 test for this.
Brian, thanks for your feedback.
Previously my patch fixes only #api_request method.
Now I have added support of generic redirections to #run_request method.
All required specifications has been added too.
As usually, commits placed into https://github.com/akzhan/chef/tree/CHEF-2068 branch.
Merged to master, thanks guys.