Functions
master Namespace Reference

Functions

def main
 Main.
def parse_http_host_and_port

Function Documentation

def master.main ( )

Main.

Definition at line 69 of file master.py.

Convenience routine to handle parsing and validation of HTTP URL     
port due to the fact that Python only provides easy accessors in     
Python 2.5 and later. Validation checks that the protocol and host     
are set.     
 
@param url: URL to parse     
@type  url: str     
@return: hostname and port number in URL or 80 (default).     
@rtype: (str, int)     
@raise ValueError: if the url does not validate     

Definition at line 30 of file master.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


graveyard_concert_master
Author(s): Daniel Stonier
autogenerated on Wed Jan 23 2013 13:41:59