Set no-cache and expire in the past.  I am guessing the Google Edge cached
the page and the request. (just a theory)

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Jay
Sent: Monday, March 28, 2011 2:49 PM
To: [email protected]
Subject: [google-appengine] 3/28 afternoon get request treated as post and
not able to update app

 

Hi all. I had a weird anomaly this afternoon. We have an app that is been
online for a few months now. It has a view that accepts get requests and the
same view accepts post requests. This is the common web form pattern. The
user goes to this view (get) and they fill out the form and submit (post).
Successful post redirects to a different view. Errors are shown to the user
on the same view with the form. This normally works great.

This afternoon, we noticed a really weird thing. When we would go to this
view, it would treat it like a post - with previously posted data in the
form. So imagine, it was as if we had just posted, but of course we had not.
In fact we had not even entered data. The data was from some other user.

Here are some pertinent characteristics of the app; and this incident. It
uses the Python stack, using the webapp framework with some extensions. We
are not doing anything tricky with those post parameters. Standard
processing - no caching of them or explicit thread local.  The app was
getting hit on average about 5 times a second at the time (not all that
traffic was to this view) - this number according to the dashboard. This hit
profile was/is not a spike. The system can average that during US waking
hours fairly routinely. At the same time that this weird post situation was
occurring, we could not update the app using appcfg. At nearly the same
instant, as best we can tell, the update started working and our weird post
thing went away. 
The logs showed no errors of interest either during or after this condition.


I'm posting to see if anyone else may have seen something similar before or
have any ideas about further ways to research it.

-- 
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.

-- 
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