Juergen Brendel wrote: > Hello! > > In some applications a POST request may arrive without a content-length. > It appears as if the Paste WSGI server closes the input socket in those > cases right away. > > In some other frameworks they consider this a bug. For example here: > http://code.djangoproject.com/ticket/3057 > > Would it be ok to change that behavior in Paste as well?
I'm not 100% clear what the resolution is that they had? Just to default to a content length of 0 when it's not provided? I suppose that would be okay. Or leaving the input open? Of course there's a response code just for this particular client error (411 Length Required), so I'm surprised clients are sending requests without it. Ian _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
