modify http according to guide.

modify http according to guide.
maybe you could review it again.
thanks