hook's return value as HTTP 200/202