Set the Location header using a convenience method.