use _trigger_event for http events also