the path always starts with '/'. If it doesn't start with '/', then it isn't the path. (You're probably accidentally using '/' as a separator between the authority and the path. Actually the '/' is a part of the path.)