modified http framwork