IWebServiceConfiguration.createRequest() is not necessary
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Triaged
|
Low
|
Unassigned |
Bug Description
IWebServiceConf
strictly necessary. I have a non-Zope WSGI app that has the following
__iter__() in its application object:
def __iter__(self):
environ = self.environ
# Create the request based on the HTTP method used.
method = environ.
request = AdminWebService
# Support post-mortem debugging.
# The request returned by the publisher may in fact be different than
# the one passed in.
request = publish(request, handle_
# Start the WSGI server response.
response = request.response
# Return the result body iterable.
return iter(response.
The configuration's createRequest() is apparently never called and Gary thinks
it's because lazr.restful is a bit too tied to being running under Zope. If
so, this should be abstracted out of the IWebServiceConf
Changed in lazr.restful: | |
status: | New → Triaged |
importance: | Undecided → Low |