':return: Returns the path for the url containing the QS'

def get_path_qs(self):

    res = self.path
    if (self.params != ''):
        res += (';' + self.params)
    if self.has_query_string():
        res += (u'?' + unicode(self.querystring))
    return res
