2.1.7. url

2.1.7.1. Module d1_common.url

Synopsis:Utilities for handling URLs in DataONE.
Created:2010-08-07
Author:DataONE (Vieglais, Dahl)

Functions

decodePathElement(element) Decodes a URL path element according to RFC3986.
decodeQueryElement(element) Decodes a URL query element according to RFC3986.
encodePathElement(element) Encodes a URL path element according to RFC3986.
encodeQueryElement(element) Encodes a URL query element according to RFC3986.
joinPathElements(*elements) Join two or more URL elements, inserting ‘/’ as needed. Note: Any leading
normalizeTarget(target) If necessary, modify target so that it ends with “/”
stripElementSlashes(element) Strip any slashes from a URL element.
urlencode(query[, doseq]) Modified version of the standard urllib.urlencode that is conforms

Table Of Contents

Related Topics