use a val instead of def for http alias