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


Groups > comp.lang.javascript > #17673

Re: ajax request with no response

From JJ <jaejunks@glegooilma-swapit.com>
Newsgroups comp.lang.javascript
Subject Re: ajax request with no response
Date 2012-12-11 11:06 +0000
Organization A noiseless patient Spider
Message-ID <XnsA126B8FEEC229jaejunksglegooilma@0.0.0.23> (permalink)
References <67WdnSfJBNQHTV7NnZ2dnUVZ_uGdnZ2d@westnet.com.au> <ka0lb7$32i$1@news.albasani.net> <XnsA12573AE046F3jaejunksglegooilma@0.0.0.23> <ka4c0l$h9p$1@news.albasani.net>

Show all headers | View raw


Stefan Weiss <krewecherl@gmail.com> wrote:
>> 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

My bad. I misunderstood the specs in RFC2616 "10.3 Redirection 3xx".

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