http component basic functional