code: def raw_path_qs(self):
          
          if not self.raw_query_string:
              return self.raw_path
          return "{}?{}".format(self.raw_path, self.raw_query_string)
docs: Encoded path of URL with query.