Branch: Tag:

2003-10-22

2003-10-22 19:18:24 by Johan Sundström <oyasumi@gmail.com>

An HTTP 1.1 client MUST be prepared to accept one or more 100 responses prior to a regular response (RFC 2616:10.1).

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.62
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.13

1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.12 2003/06/08 21:56:02 mirar Exp $ + // $Id: Session.pike,v 1.13 2003/10/22 19:18:24 jhs Exp $      import Protocols.HTTP;   
157:    if (con->ok)    {    check_for_cookies(); +  while( con->status == 100 ) +  con->ponder_answer( con->datapos );    if (con->status>=300 && con->status<400 &&    con->headers->location && follow_redirects)    {