diff --git a/README b/README index 3bf8701..928b161 100644 --- a/README +++ b/README @@ -21,8 +21,8 @@ Eventlet runs on Python version 2.3 or greater, with the following dependenceis: == getting started == % python ->>> import eventlet.api ->>> help(eventlet.api) +>>> from eventlet import api +>>> help(api) Also, look at the examples in the examples directory. diff --git a/eventlet/httpd.py b/eventlet/httpd.py index e6904db..1bc38f6 100644 --- a/eventlet/httpd.py +++ b/eventlet/httpd.py @@ -266,13 +266,8 @@ class Request(object): environ = dict( REQUEST_METHOD='POST', QUERY_STRING=self._query or '') - if (hasattr(self, 'resource') and - hasattr(self.resource, 'getFieldStorage')): - self._field_storage = self.resource.getFieldStorage( - self, fl, headers, environ) - else: - self._field_storage = cgi.FieldStorage( - fl, headers, environ=environ) + + self._field_storage = cgi.FieldStorage(fl, headers, environ=environ) return self._field_storage