I think the http header are case independent but anyway, I agree that should be fixed. It will be in the next verision of the manual.
Thanks for reporting this. Massimo On Nov 5, 6:27 am, Jonathan Benn <[EMAIL PROTECTED]> wrote: > On p.220, for this line: > > response.headers['Content-type']=contenttype(request.args[0]) > > Very important: that should be a capital 'T' for Content-Type! > > The corrected line should be: > > response.headers['Content-Type']=contenttype(request.args[0]) > > --Jonathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---