On Jul 20, 2010, at 4:27 PM, Timbo wrote: > @Jon, > > Notice that HTTP(304) call, that doesn't read response.headers, it > only takes in what headers you give it. In this case it's none. Flip > over to http.py line 77...there's your answer.
Ah, right. We shouldn't be adding content-type headers to statuses without content. Ideally there wouldn't be a default at all (leave it to the caller), but that might go and break something. I'm guessing that a dict with statuses that take content would be fairly short. Massimo, there's a typo in the defined_status dict at the top of http.py: 411: 'LENGHT REQUIRED',