add spec for http request component.