Allow a literal string in http handler registration