Skip to content

Instantly share code, notes, and snippets.

@daz
Last active September 23, 2016 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daz/3742040 to your computer and use it in GitHub Desktop.
Save daz/3742040 to your computer and use it in GitHub Desktop.
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: Trying 23.215.221.249...
== Info: Connected to maps.apple.com (23.215.221.249) port 80 (#0)
=> Send header, 128 bytes (0x80)
0000: GET /?lsp=9902&sll=47.606209,-122.332071&q=Seattle%20WA HTTP/1.1
0042: Host: maps.apple.com
0058: User-Agent: curl/7.49.1
0071: Accept: */*
007e:
<= Recv header, 32 bytes (0x20)
0000: HTTP/1.1 302 Moved Temporarily
<= Recv header, 21 bytes (0x15)
0000: Server: AkamaiGHost
<= Recv header, 19 bytes (0x13)
0000: Content-Length: 0
<= Recv header, 77 bytes (0x4d)
0000: Location: https://maps.google.com/?sll=47.606209,-122.332071&q=S
0040: eattle%20WA
<= Recv header, 40 bytes (0x28)
0000: Expires: Fri, 23 Sep 2016 08:30:17 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: Fri, 23 Sep 2016 08:30:17 GMT
<= Recv header, 24 bytes (0x18)
0000: Connection: keep-alive
<= Recv header, 45 bytes (0x2d)
0000: Strict-Transport-Security: max-age=31536000
<= 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