> Hmm no, it's not perfect :) The client gets a 200 if it's cached and a
> 404 if it's not cached. How do i send a 404 to the client without
> touching the webapp framework? Could not find anything.

You need to use the standard CGI "Status" header.
print ('Status: 404')
print ('Content-Type: text/html')
See http://www.apps.ietf.org/rfc/rfc3875.html#sec-6.3.3

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to