Content-Type: application/json;charset=utf-8
when asking for .json.
curl -v http://current.openphoto.me/photos.json
* About to connect() to current.openphoto.me port 80 (#0)
* Trying 173.255.221.13... connected
* Connected to current.openphoto.me (173.255.221.13) port 80 (#0)
> GET /photos.json HTTP/1.1
> User-Agent: curl/7.21.2 (x86_64-apple-darwin10.5.0) libcurl/7.21.2 OpenSSL/1.0.0d zlib/1.2.5 libidn/1.19
> Host: current.openphoto.me
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Mon, 08 Aug 2011 04:28:12 GMT
< Server: Apache/2.2.17 (Ubuntu)
< Set-Cookie: sessid=r2p8ogm8tmu5d18vnaanv2ot35; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html
<
{"message":"Successfully retrieved user's photos","code":200,"result":[{"tags":[],
...