I am trying to get IE to work with a custom notfound message..... It only solution I see thus far is to set HTTP/1.0 200 OK.....
SO....just add web.ctx.status = "200 OK"? On Mon, Apr 27, 2009 at 6:13 PM, Anand Chitipothu <[email protected]> wrote: > > 2009/4/28 Monty808 <[email protected]>: >> >> Hi, >> >> On the top of a request....I want to return web.header("Content- >> Type","HTTP/1.0 200 OK"). >> >> Did I do it right? > > "HTTP/1.0 200 OK" is not Content-Type. > > If you want to set status, you can do it like this: > > web.ctx.status = "200 OK" > > But, "200 OK" is the default status and you don't have to set it explicitly. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
