Is it possible to interrupt the server (paste.httpserver.serve) from WSGI
application? I tried to raise ServerExit, but ThreadPoolMixIn.handle_error()
does not stop the server.
Viktor
___
Paste-users mailing list
[email protected]
http://w
I'm trying to do a simple file upload with webob:
def upload(self, environ, start_response):
req = Request(environ)
if req.POST.get('upload'):
save_file(req.POST['upload']
res = HTTPSeeOther('/other')
I get not indexable error. I can wrap things in a try/except block but
I'm
Eric Larson wrote:
> I'm trying to do a simple file upload with webob:
>
> def upload(self, environ, start_response):
> req = Request(environ)
> if req.POST.get('upload'):
> save_file(req.POST['upload']
> res = HTTPSeeOther('/other')
>
> I get not indexable error. I can wrap