| Home | Trees | Indices | Help |
|
|---|
|
|
NDG XACML data fetch by URL utility
NERC DataGrid
Date: 03/11/11
Author: R B Wilkinson
Contact: Philip.Kershaw@stfc.ac.uk
Copyright: (C) 2011 Science and Technology Facilities Council
License: BSD - see LICENSE file in top-level directory
|
|||
| file derived type |
|
||
| str |
|
||
|
|||
| bool |
|
||
|
|||
__revision__ =
|
|||
log = logging.getLogger(__name__)
|
|||
__package__ =
|
|||
|
|||
Returns data retrieved from a URL.
|
Returns data retrieved from a URL.
|
Attempts to open a connection to a specified URL.
@param url: URL to attempt to open
@type: str
@param debug: debug flag for urllib2
@type: bool
@return: tuple (
@rtype: tuple (
int: returned HTTP status code or 0 if an error occurred
str: returned message or error description
file-like: response object
)
|
Determines whether a proxy should be used to open a connection to the specified URL, based on the value of the no_proxy environment variable.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Apr 5 08:44:33 2012 | http://epydoc.sourceforge.net |