Added several http functions