Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

gav
  (email not shown publicly)
http://www.estey.com/
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Saturday May 24, 2003
11:57 PM

Google can't spell?

[ #12426 ]

I was doing a bit of testing with LWP and noticed an odd header I was getting back from Google. If you look at the headers Google gives back (try running this script) you'll see "Cneonction: Close".

#!/usr/bin/perl -w
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$res = $ua->get('http://www.google.com');
print $res->headers->as_string, "\n";

Whoops!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • (Edited because I didn't want to sort out if the cookie didn't have host information I didn't want to leak out...)

    Cache-Control: private
    Connection: close
    Date: Mon, 26 May 2003 00:27:36 GMT
    Server: GWS/2.0
    Content-Length: ....
    Content-Type: text/html
    Content-Type: text/html; charset=ISO-8859-1
    Client-Date: Mon, 26 May 2003 00:27:36 GMT
    Client-Response-Num: 1
    Set-Cookie: ...
    Title: Google

    I wonder if that wasn't just some Google Tech's idea of a Matrix joke? See "neo" in there?
    • I'll bet they googled technical blogs every day with the new proposed google blog search to see when someone finally noticed it, then laughed hysterically and fixed it. :)

      --
      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • OK, I just saw this too! What's going on?

    My proxy server is occasionally showing a bogus header at amazon.com:

    GET http://www.amazon.com/exec/obidos/tg/stores/offering/list/-/B0000521B9 HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; T312461)
    Host: www.amazon.com
    Proxy-Connection: Keep-Alive
    Pragma: no-cache

    HTTP/1.1 200 OK
    Date: Tue, 03 Jun 2003 05:12:44 GMT
    Server: Stronghold/2.4.2 Apache/1.3.6 C2NetEU/2412 (Unix)
    Cneonction