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


Groups > comp.lang.javascript > #17650

Re: ajax request with no response

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: ajax request with no response
Date 2012-12-10 11:03 +0100
Organization albasani.net
Message-ID <ka4c0l$h9p$1@news.albasani.net> (permalink)
References <67WdnSfJBNQHTV7NnZ2dnUVZ_uGdnZ2d@westnet.com.au> <ka0lb7$32i$1@news.albasani.net> <XnsA12573AE046F3jaejunksglegooilma@0.0.0.23>

Show all headers | View raw


On 2012-12-10 05:17, JJ wrote:
> I thought there's a HTTP request header that can disallow server to 
> respond a 3xx status codes, but I've searched through the HTTP specs and 
> don't find any. Did I overlooked something?

I don't think so, I've never heard of such a header.

> I could only found that a server should not redirect a POST method 
> requests.

Why not? Just use 303 See Other ("This method exists primarily to allow
the output of a POST-activated script to redirect the user agent to a
selected resource").

I use this all the time. A typical situation would be a web forum: a
user posts a message, and then periodically reloads the result page to
see if anybody has replied yet.

- stefan

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


Thread

ajax request with no response Andrew Poulos <ap_prog@hotmail.com> - 2012-12-09 10:43 +1100
  Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-09 01:17 +0100
    Re: ajax request with no response JJ <jaejunks@glegooilma-swapit.com> - 2012-12-10 04:17 +0000
      Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-10 11:03 +0100
        Re: ajax request with no response JJ <jaejunks@glegooilma-swapit.com> - 2012-12-11 11:06 +0000
  Re: ajax request with no response Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-09 19:51 +0100
    Re: ajax request with no response Andrew Poulos <ap_prog@hotmail.com> - 2012-12-10 08:17 +1100
      Re: ajax request with no response Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-10 00:25 +0100
      Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-10 00:53 +0100

csiph-web