fixed request_uri to work in python server