Updated inline docs
diff --git a/MANIFEST b/MANIFEST
index e82eeb8..e83a381 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
README
+CHANGELOG
setup.py
httplib2/__init__.py
diff --git a/Makefile b/Makefile
index 42d7605..4de3c9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
release:
python2.4 setup.py sdist --formats=gztar,zip
+doc:
+ ./mkhowto --html ref.tex
diff --git a/dist/httplib2-0.2.0.tar.gz b/dist/httplib2-0.2.0.tar.gz
index 56bff37..c79e21d 100644
--- a/dist/httplib2-0.2.0.tar.gz
+++ b/dist/httplib2-0.2.0.tar.gz
Binary files differ
diff --git a/dist/httplib2-0.2.0.zip b/dist/httplib2-0.2.0.zip
index 3244580..b990760 100644
--- a/dist/httplib2-0.2.0.zip
+++ b/dist/httplib2-0.2.0.zip
Binary files differ
diff --git a/httplib2/__init__.py b/httplib2/__init__.py
index 6884c75..98bcfb0 100644
--- a/httplib2/__init__.py
+++ b/httplib2/__init__.py
@@ -38,7 +38,8 @@
__all__ = ['Http', 'Response', 'HttpLib2Error',
'RedirectMissingLocation', 'RedirectLimit', 'FailedToDecompressContent',
- 'UnimplementedDigestAuthOptionError', 'UnimplementedHmacDigestAuthOptionError']
+ 'UnimplementedDigestAuthOptionError', 'UnimplementedHmacDigestAuthOptionError',
+ 'debuglevel']
# The httplib debug level, set to a non-zero value to get debug output
@@ -648,9 +649,25 @@
return (response, content)
def request(self, uri, method="GET", body=None, headers=None, redirections=DEFAULT_MAX_REDIRECTS):
- """Returns an httplib2.Response and the response content.
+ """ Performs a single HTTP request.
+The 'uri' is the URI of the HTTP resource and can begin
+with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
- uri - MUST be an absolute HTTP URI
+The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
+There is no restriction on the methods allowed.
+
+The 'body' is the entity body to be sent with the request. It is a string
+object.
+
+Any extra headers that are to be sent with the request should be provided in the
+'headers' dictionary.
+
+The maximum number of redirect to follow before raising an
+exception is 'redirections. The default is 5.
+
+The return value is a tuple of (response, content), the first
+being and instance of the 'Response' class, the second being
+a string that contains the response entity body.
"""
if headers is None:
headers = {}