Re: HTTP Error: 502 Bad Gateway from cell phone browser
Rainer Joswig <[email protected]> Sat, 15 Jan 2011 01:42:21 +0100
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <[email protected]> |
--===============3958311706505331171== Content-Type: multipart/alternative; boundary=Apple-Mail-8-1064845016 --Apple-Mail-8-1064845016 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, the server does a redirect for http://zevo.ws to = http://zevo.ws/cool.html That's fine. But the server does not provide any HTTP header for = http://zevo.ws/cool.html RJMBA:~ joswig$ curl -i http://zevo.ws/cool.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Frameset//EN" = "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <meta name=3D"author" content=3D"conrad bookout"> <meta name=3D"copyright" content=3D"&copy; 2000-2006 conrad = bookout."> <meta name=3D"keywords" content=3D"web-based, object-oriented, database, = information management"> <meta name=3D"generator" content=3D"CL-HTTP/70.216 (CMU Common Lisp; = 0.4.4)"> <base href=3D"http://zevo.ws/"> <title>Http://Zevo.Ws - Login </title> The HTTP headers are missing. If a browser displays that page, then it is pure luck... For computed pages you need to use some of the macros which generate = headers, WITH-SUCCESSFUL-RESPONSE or similar. Regards, Rainer Joswig Am 15.01.2011 um 01:12 schrieb conrad bookout: >=20 > hello, >=20 > i'm getting an "HTTP Error: 502 Bad Gateway" every time i try to = access my website, http://zevo.ws from my cell phone's browser; however, = i am able to access the static web pages, so the problem appears limited = to the dynamic pages generated by cl-http. i'm running cl-http 70-216 = with cmucl/linux. the phone is an lg290c using straight talk/verizon. i = believe it works on an iphone. any suggestions, especially debugging = ideas, would be appreciated. >=20 > thanks, >=20 > conrad >=20 >=20 > _______________________________________________ > WWW-CL mailing list > [email protected] > https://lists.csail.mit.edu/mailman/listinfo/www-cl --Apple-Mail-8-1064845016 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div>Hi,</div><div><br></div><div>the server does a redirect for = <a href=3D"http://zevo.ws">http://zevo.ws</a> to = <a = href=3D"http://zevo.ws/cool.html">http://zevo.ws/cool.html</a></div><div><= br></div><div>That's fine.</div><div><br></div><div>But the server = does not provide any HTTP header for <a = href=3D"http://zevo.ws/cool.html">http://zevo.ws/cool.html</a></div><div><= br></div><div><div>RJMBA:~ joswig$ curl -i <a = href=3D"http://zevo.ws/cool.html">http://zevo.ws/cool.html</a></div><div>&= lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Frameset//EN" "<a = href=3D"http://www.w3.org/TR/html4/frameset.dtd">http://www.w3.org/TR/html= 4/frameset.dtd</a>"></div><div><html></div><div><head></div= ><div><meta name=3D"author" content=3D"conrad = bookout"></div><div><meta name=3D"copyright" = content=3D"&amp;copy; 2000-2006 conrad = bookout."></div><div><meta name=3D"keywords" content=3D"web-based, = object-oriented, database, information = management"></div><div><meta name=3D"generator" = content=3D"CL-HTTP/70.216 (CMU Common Lisp; = 0.4.4)"></div><div><base href=3D"<a = href=3D"http://zevo.ws/">http://zevo.ws/</a>"></div><div><title>H= ttp://Zevo.Ws - Login </title></div></div><div><br></div><div>The = HTTP headers are missing.</div><div><br></div><div>If a browser displays = that page, then it is pure luck...</div><div><br></div><div>For computed = pages you need to use some of the macros which generate headers, = WITH-SUCCESSFUL-RESPONSE or = similar.</div><div><br></div><div>Regards,</div><div><br></div><div>Rainer= Joswig</div><div><br></div><br><div><div>Am 15.01.2011 um 01:12 schrieb = conrad bookout:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><table cellspacing=3D"0" cellpadding=3D"0" = border=3D"0"><tbody><tr><td valign=3D"top" style=3D"font: inherit;"><div = id=3D"yiv1012987853"><table id=3D"yiv1012987853bodyDrftID" = class=3D"yiv1012987853" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" = style=3D"position: static; z-index: auto; "><tbody><tr><td = id=3D"yiv1012987853drftMsgContent" style=3D"font-style: inherit; = font-variant: inherit; font-weight: inherit; line-height: inherit; = font-size-adjust: inherit; font-stretch: ; font-family: arial; = font-size: 10pt;">hello,<br><br>i'm getting an "HTTP Error: 502 Bad = Gateway" every time i try to access my website, <a = href=3D"http://zevo.ws">http://zevo.ws</a> from my cell phone's browser; = however, i am able to access the static web pages, so the problem = appears limited to the dynamic pages generated by cl-http. i'm running = cl-http 70-216 with cmucl/linux. the phone is an lg290c using straight = talk/verizon. i believe it works on an iphone. any suggestions, = especially debugging ideas, would be = appreciated.<br><br>thanks,<br><br>conrad<br><br></td></tr></tbody></table= ></div></td></tr></tbody></table><br> _______________________________________________<br>WWW-CL mailing = list<br><a = href=3D"mailto:[email protected]">[email protected]</a><= br>https://lists.csail.mit.edu/mailman/listinfo/www-cl<br></blockquote></d= iv><br></body></html>= --Apple-Mail-8-1064845016-- --===============3958311706505331171== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ WWW-CL mailing list [email protected] https://lists.csail.mit.edu/mailman/listinfo/www-cl --===============3958311706505331171==--