[svn r5] Removed unused api, twiddled README.

This commit is contained in:
which.linden
2007-08-23 21:02:06 -04:00
parent 711163bd41
commit 5cba47bf4a
2 changed files with 4 additions and 9 deletions

4
README
View File

@@ -21,8 +21,8 @@ Eventlet runs on Python version 2.3 or greater, with the following dependenceis:
== getting started == == getting started ==
% python % python
>>> import eventlet.api >>> from eventlet import api
>>> help(eventlet.api) >>> help(api)
Also, look at the examples in the examples directory. Also, look at the examples in the examples directory.

View File

@@ -266,13 +266,8 @@ class Request(object):
environ = dict( environ = dict(
REQUEST_METHOD='POST', REQUEST_METHOD='POST',
QUERY_STRING=self._query or '') QUERY_STRING=self._query or '')
if (hasattr(self, 'resource') and
hasattr(self.resource, 'getFieldStorage')): self._field_storage = cgi.FieldStorage(fl, headers, environ=environ)
self._field_storage = self.resource.getFieldStorage(
self, fl, headers, environ)
else:
self._field_storage = cgi.FieldStorage(
fl, headers, environ=environ)
return self._field_storage return self._field_storage