🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3043

Re: Llamar página desde CGI

#3043
From: Cristian Gutierrez
Date: Sat, 18 Jun 2005 23:01
24 lines
2869 bytes
Hoy en la tarde, Jos� Miguel Santib��ez dijo:
> En el cap�tulo anterior (news:87wtor7d23.fsf@guti.no-ip.org), Cristian
> Gutierrez <crgutier@dcc.uchile.cl> dijo: 

[...]

>> O incluso un encabezado "Location: <URL>" (si es que no se han
>> cerrado los encabezados).
>> 
>
> ese es el 302...
>
> Un c�digo 200 + location no debiera funcionar...
>
> (cuando uno piensa a niveles CGI, dependiendo de la plataforma, debe 
> conocer m�s del protocolo)

Damn true. Acabo de ver que en PHP la funcion header() hace una
excepcion cuando se envia el "Location:" y cambia el status a 302
automagicamente. No saber eso me confundio :-P

-- 
Cristian Gutierrez                          /* crgutier@dcc.uchile.cl */
Even bytes get lonely for a little bit.
Technical Details
Message-ID: <87ll576zi6.fsf@guti.no-ip.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.cec.uchile.cl!guti.no-ip.org!news
References: <1118367724.000380.8560@g49g2000cwa.googlegroups.com> <1119015540.935799.193690@g49g2000cwa.googlegroups.com> <Xns9678EC305720Cjmsnews@200.27.221.71> <87wtor7d23.fsf@guti.no-ip.org> <Xns96799A41398C7jmsnews@200.27.221.71>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,59cff9e4bdad5b94
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.cec.uchile.cl!guti.no-ip.org!news
From: Cristian Gutierrez <crgutier@dcc.uchile.cl>
Newsgroups: chile.comp.programacion
Subject: Re: Llamar página desde CGI
Date: Sat, 18 Jun 2005 19:01:21 -0400
Organization: Centro de Computacion - U. de Chile
Lines: 24
Message-ID: <87ll576zi6.fsf@guti.no-ip.org>
References: <1118367724.000380.8560@g49g2000cwa.googlegroups.com> <1119015540.935799.193690@g49g2000cwa.googlegroups.com>
 <Xns9678EC305720Cjmsnews@200.27.221.71> <87wtor7d23.fsf@guti.no-ip.org>
 <Xns96799A41398C7jmsnews@200.27.221.71>
NNTP-Posting-Host: vpn-client-023.cec.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: localhost.localdomain 1119135921 15302 172.17.35.23 (18 Jun 2005 23:05:21 GMT)
X-Complaints-To: news@localhost.localdomain
NNTP-Posting-Date: Sat, 18 Jun 2005 23:05:21 +0000 (UTC)
Face: iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAADFBMVEUWFhZfX1+ioqL6+vr8
 dj+QAAAAAWJLR0QAiAUdSAAAAg5JREFUeNql0s9r02AYB/B4GIHuoAgVVmG9CVYwf4ILrht40Ynd
 dEXioWUsA3PaQQ8LKHpYLnbTThwiHbWYV9Sj9rL36NUObGkPUrVzuIs/6BvyluZ9ljcxaXI2lzwf
 eJOH9/k+AvhP/7j/Fv65OxMzmynhqO1zH/So+29NLeqvh6YU8WADmemIP4lxL8pxp6p3o2aZegZl
 R3YyaBJNaaGHKkqgxOXQNkKXzLQR+g9C6+b5kfcQevgmpYRuIrRZn5BCryO0US3ogW1BdV0J+3dz
 grpXmQXYfuf5nkLH5ksK/SIrnq/rg26ioTmdygtupwgWHSvoTnvF4CZl17dOYNoWy9yNPOzXfstg
 tYtXuR9o0JwlL+HgeWGBW8ZgGBbFnWUhw33Sbdz6TvHN1ey8a3YGIN+6T2C5PYFdD2sA6d5FAu9v
 LH3WBbAJBgmIDJ3ioooFoCzPNDq5in82TX7egsdXcE+0pZ3sEr+fxW7XoCvS3HRS4f7rrGHojRP0
 6A72TOtuoBrZnVvz5kGIzVejX0jpvi2bF0Q+iz1TWuXFwbOkP7/hrrdaH58u+HakX7wwSsF8/eDT
 wf45417kFwIPd7yIcWDS52UDApevuZ86p0PLK1tuZHpoBN8YLgOM9pswfft/vO9oMf9g6UbMYNij
 /jDYglZwHRCYIIgx56aO4earyPlD89R0Mvo/9kR9HfgIgorhXaQc58oAAAAASUVORK5CYII=
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
Cancel-Lock: sha1:D7MkInk97g6qR7unnqHkhlJIivs=