Fix request method handling in aliases.

By aliasing head to get there needed to be a way to verify which method
was being invoked while sharing a codebase.  If the non-shared section
gets too large separate methods will need to be crafted but for one line
we can simply use a conditional.