Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81865

Re: Cherrypy - prevent browser "prefetch"?

From Nobody <nobody@nowhere.invalid>
Newsgroups comp.lang.python
Subject Re: Cherrypy - prevent browser "prefetch"?
Date 2014-12-03 16:09 +0000
Organization A noiseless patient Spider
Message-ID <pan.2014.12.03.16.09.23.796000@nowhere.invalid> (permalink)
References <mailman.16468.1417465731.18130.python-list@python.org> <pan.2014.12.02.21.05.18.838000@nowhere.invalid> <m5lbmd$faf$1@reader1.panix.com>

Show all headers | View raw


On Tue, 02 Dec 2014 21:41:33 +0000, John Gordon wrote:

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

GET isn't supposed to have observable side-effects. "Observable" excludes
things like logs and statistics, but getting logged out of your session is
definitely observable.

X-moz: prefetch, X-Purpose etc (note that these all have X- prefixes,
meaning that they're not in any standard) exist because web developers
seem to be uniquely bad at distinguishing between specified behaviour
and "seems to work".

But realistically, this horse is not only out of the barn but half way
around the world by now. So many sites misuse GET that there has to be
workarounds for it (to be honest, I'm surprised that they haven't made it
into a standard yet).

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Cherrypy - prevent browser "prefetch"? Israel Brewster <israel@ravnalaska.net> - 2014-12-01 11:28 -0900
  Re: Cherrypy - prevent browser "prefetch"? sohcahtoa82@gmail.com - 2014-12-01 12:41 -0800
  Re: Cherrypy - prevent browser "prefetch"? Nobody <nobody@nowhere.invalid> - 2014-12-02 21:05 +0000
    Re: Cherrypy - prevent browser "prefetch"? John Gordon <gordon@panix.com> - 2014-12-02 21:41 +0000
      Re: Cherrypy - prevent browser "prefetch"? Nobody <nobody@nowhere.invalid> - 2014-12-03 16:09 +0000

csiph-web