Cherrypy - prevent browser "prefetch"?

John Gordon gordon at panix.com
Tue Dec 2 16:41:33 EST 2014


In <pan.2014.12.02.21.05.18.838000 at nowhere.invalid> Nobody <nobody at nowhere.invalid> writes:

> On Mon, 01 Dec 2014 11:28:42 -0900, Israel Brewster wrote:

> > I'm running to a problem, specifically from
> > Safari on the Mac, where I start to type a URL, and Safari auto-fills the
> > rest of a random URL matching what I started to type, and simultaneously
> > sends a request for that URL to my server, occasionally causing unwanted
> > effects.

> A GET request should not cause *any* effects. That's what PUT/POST are
> for.

> GET is for retrieval, not modification.

GET shouldn't cause any business data modifications, but I thought it
was allowed for things like logging out of your session.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list