HTTP - HTTP_GET
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Well, this is weird, but remove "www." and there won't be a crash

#e: wait, it actually returns 301 header, pointing at address with "www.". No idea what happens
I know, I tried it yesterday without "www." and it printed these:
pawn Код:
[13:15:28] The URL replied: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.netip.de/search?query=my_ip_here">here</a>.</p>
</body></html>

[13:15:28]  HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
I never used that function before and I don't know why it does that. Does anybody know something more about it? It'll help me a lot!
Reply


Messages In This Thread
HTTP Function - by Konstantinos - 22.03.2013, 10:57
Re: HTTP - HTTP_GET - by Konstantinos - 23.03.2013, 13:37
Re: HTTP - HTTP_GET - by Misiur - 23.03.2013, 13:51
Re: HTTP - HTTP_GET - by Konstantinos - 23.03.2013, 16:41
Re: HTTP - HTTP_GET - by ikkentim - 23.03.2013, 17:31
Re: HTTP - HTTP_GET - by AndreT - 23.03.2013, 17:41
Re: HTTP - HTTP_GET - by Konstantinos - 23.03.2013, 20:41

Forum Jump:


Users browsing this thread: 2 Guest(s)