Table of Contents

Module: common Zope-2.2.1-src/lib/python/webdav/common.py

Commonly used functions for WebDAV support modules.

Imported modules   
import string
import time
import urllib
Functions   
absattr
aq_base
is_acquired
iso8601_date
rfc1123_date
rfc850_date
urlbase
urlfix
  absattr 
absattr ( attr )

  aq_base 
aq_base ( ob )

  is_acquired 
is_acquired ( ob )

  iso8601_date 
iso8601_date ( ts=None,  format='%Y-%m-%dT%H:%M:%SZ' )

  rfc1123_date 
rfc1123_date ( ts=None,  format='%a, %d %b %Y %H:%M:%S GMT' )

  rfc850_date 
rfc850_date ( ts=None,  format='%A, %d-%b-%y %H:%M:%S GMT' )

  urlbase 
urlbase (
        url,
        ftype=urllib.splittype,
        fhost=urllib.splithost,
        )

Return a / based url such as /foo/bar, removing type, host and port information if necessary.

  urlfix 
urlfix ( url,  s )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6