HomePhorge

(#5838) Added support for HEAD requests to the indirector.
c514c641d0c0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5838) Added support for HEAD requests to the indirector.

Added the ability for the indirector to handle REST HEAD requests.
These are done using a new indirector method, head(), which should
return true if find() would return a result and false if find() would
return nil.

Access control for the head method is the union of that for the find
and save methods. That is, if either find or save is allowed, then
head is allowed. This is necessary so that users will not have to
change their authconfig to take advantage of the new feature.

Paired-with: Jesse Wolfe <jesse@puppetlabs.com>

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2b9b7a5f7fe4: (#5838) Refactored error handling logic into find_in_cache.
Branches
Unknown
Tags
Unknown

Event Timeline

Paul Berry <paul@puppetlabs.com> committed rPUc514c641d0c0: (#5838) Added support for HEAD requests to the indirector. (authored by Paul Berry <paul@puppetlabs.com>).Jan 13 2011, 1:29 AM