incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Edgar Castro <pauloedgarcas...@gmail.com>
Subject Content type response
Date Sat, 03 Jul 2010 14:45:20 GMT
Hi there.

Is there a reason why I'm being returned a text/plain content type 
rather then a json one?
I don't think I messed up with any of the server config files.
Judging by the HTTP_database_API docs on the wiki shouldn't this be 
returning a JSON content-type?
I'm having the same content-type response when requesting individual 
docs....

Cheers,


             PECastro


[root@F11-0 test]# telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /_all_dbs HTTP/1.1

HTTP/1.1 200 OK
Server: CouchDB/0.10.0 (Erlang OTP/R12B)
Date: Sat, 03 Jul 2010 14:37:53 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 79
Cache-Control: must-revalidate

["my_test_2","my_test2"]

^C
Connection closed by foreign host.






Mime
View raw message