Rewrote Http module