consume http server request to fire end event