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

def uicilibris::url::Cache::fromCache (   url,
  data 
)
@param url a valid URL
@param data a data/url-encoded strig, or None
@return a file-like objet giving access to the contents, or None

Definition at line 65 of file url.py.

                            :
        """
        @param url a valid URL
        @param data a data/url-encoded strig, or None
        @return a file-like objet giving access to the contents, or None
        """
        if (url,data) in Cache.theCache.dict.keys():
            return StringIO.StringIO(Cache.theCache.dict[(url, data)])
        else:
            return None

Generated by  Doxygen 1.6.0   Back to index