http server partial working