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 )
|
|