[svn r5] Removed unused api, twiddled README.
This commit is contained in:
4
README
4
README
@@ -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.
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user