Re: [Web-SIG] WSGI: read method

2006-09-08 Thread Ian Bicking
Robert Brewer wrote: > > Hmm... I could also set CONTENT_LENGTH='1', and make .read(1) return the > > actual entire body, totally ignoring the size argument. Or make it > > '9', or whatever. That seems bad-clever, but maybe most workable > > with PEP 333? > > I'm getting lost on the phra

Re: [Web-SIG] WSGI: read method

2006-09-08 Thread Robert Brewer
Title: RE: [Web-SIG] WSGI: read method Ian Bicking wrote: > An issue I just realized (as Robert was bringing up these things), > is that I would like to be able to give input streams that don't > have a known length.  In particular, I want to be able to do this: >