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


Groups > comp.lang.python > #81814

Re: Cherrypy - prevent browser "prefetch"?

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Cherrypy - prevent browser "prefetch"?
Date 2014-12-02 21:41 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <m5lbmd$faf$1@reader1.panix.com> (permalink)
References <mailman.16468.1417465731.18130.python-list@python.org> <pan.2014.12.02.21.05.18.838000@nowhere.invalid>

Show all headers | View raw


In <pan.2014.12.02.21.05.18.838000@nowhere.invalid> Nobody <nobody@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@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | Next — Previous in thread | Next 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