changes for http.server rather than local filesystem