Create a gist now

Instantly share code, notes, and snippets.

@daz /gist:3742040
Last active Oct 10, 2015

Apple Maps redirects to Google Maps
$ curl --trace-ascii /dev/stdout 'http://maps.apple.com/?lsp=9902&sll=47.606209,-122.332071&q=Seattle%20WA' | pbcopy
== Info: Hostname was NOT found in DNS cache
== Info: Trying 23.209.183.18...
== Info: Connected to maps.apple.com (23.209.183.18) port 80 (#0)
=> Send header, 128 bytes (0x80)
0000: GET /?lsp=9902&sll=47.606209,-122.332071&q=Seattle%20WA HTTP/1.1
0042: User-Agent: curl/7.37.1
005b: Host: maps.apple.com
0071: Accept: */*
007e:
<= Recv header, 32 bytes (0x20)
0000: HTTP/1.1 302 Moved Temporarily
== Info: Server AkamaiGHost is not blacklisted
<= Recv header, 21 bytes (0x15)
0000: Server: AkamaiGHost
<= Recv header, 19 bytes (0x13)
0000: Content-Length: 0
<= Recv header, 76 bytes (0x4c)
0000: Location: http://maps.google.com/?sll=47.606209,-122.332071&q=Se
0040: attle%20WA
<= Recv header, 40 bytes (0x28)
0000: Expires: Tue, 28 Apr 2015 06:45:10 GMT
<= Recv header, 46 bytes (0x2e)
0000: Cache-Control: max-age=0, no-cache, no-store
<= Recv header, 18 bytes (0x12)
0000: Pragma: no-cache
<= Recv header, 37 bytes (0x25)
0000: Date: Tue, 28 Apr 2015 06:45:10 GMT
<= Recv header, 24 bytes (0x18)
0000: Connection: keep-alive
<= Recv header, 2 bytes (0x2)
0000:
== Info: Connection #0 to host maps.apple.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment