path += ('?' if self.urlparsed[4] else '') + self.urlparsed[4]