Not working error: 'module' object has no attribute 'ok'
return web.ok return html So...how to I do this? Thanks 2009/11/4 shwdai <[email protected]> > You just directly return you html string, '200 OK' will automaticlly > output before your html string as response header. > > > 2009-11-04 > ------------------------------ > shwdai > ------------------------------ > *发件人:* David Montgomery > *发送时间:* 2009-11-04 10:54:53 > *收件人:* webpy > *抄送:* > *主题:* [webpy] Re: status code 200---How to return > But am returning a string as my html...how to I return twice? > > On Wed, Nov 4, 2009 at 10:50 AM, shwdai <[email protected]> wrote: > >> return web.ok >> >> >> 2009-11-04 >> ------------------------------ >> shwdai >> ------------------------------ >> *发件人:* monty808 >> *发送时间:* 2009-11-04 09:57:00 >> *收件人:* web.py >> *抄送:* >> *主题:* [webpy] status code 200---How to return >> Hi, >> I need to return a status code of 200. How do I explicitly return >> 200? >> Thanks >> >> >> > > > -- > David Montgomery > CEO > AdAloha > Honolulu, Hawaii 96815 > 808-351-5046 > http://www.AdAloha.com > [email protected] > > > > -- David Montgomery CEO AdAloha Honolulu, Hawaii 96815 808-351-5046 http://www.AdAloha.com [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
