Complete prototype of http part