Logo Search packages:      
Sourcecode: harvestman version File versions  Download package

def HarvestMan::urlparser::HarvestManUrlParser::get_full_url (   self,
  intranet = 0 
)

Return the full url path of this url object after
resolving relative paths, filenames etc 

Definition at line 601 of file urlparser.py.

00601                                       :
        """ Return the full url path of this url object after
        resolving relative paths, filenames etc """

        rval = self.get_full_domain_with_port(intranet)
        if self.dirpath:
            newpath = "".join([ x+self.URLSEP for x in self.dirpath if x and not x[-1] ==self.URLSEP])
            rval = "".join((rval, self.URLSEP, newpath))
            
        if rval[-1] != self.URLSEP:
            rval += self.URLSEP

        if self.filelike:
            rval = "".join((rval, self.filename))
            
        return self.make_valid_url(rval)


Generated by  Doxygen 1.6.0   Back to index