incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Borwankar <ni...@borwankar.com>
Subject couch returning text/plain for responses - is this correct ?
Date Sun, 02 Aug 2009 07:44:50 GMT
Starting a separate thread as this was discovered at the end of a long 
thread about jQuery/callback=? etc.

Here's what I am seeing.  Wondering if this is supposed to be this way 
and why that might be ?

curl -v http://localhost:5984/

* About to connect() to localhost port 5984 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 5984 (#0)
 > GET / HTTP/1.1
 > User-Agent: curl/7.19.3 (i386-apple-darwin9.6.0) libcurl/7.19.3 
zlib/1.2.3
 > Host: localhost:5984
 > Accept: */*
 >
< HTTP/1.1 200 OK
< Server: CouchDB/0.9.0 (Erlang OTP/R12B)
< Date: Sun, 02 Aug 2009 07:42:07 GMT
< Content-Type: text/plain;charset=utf-8   
<-------===============---------  note text/plain
< Content-Length: 40
< Cache-Control: must-revalidate
<
{"couchdb":"Welcome","version":"0.9.0"}
* Connection #0 to host localhost left intact
* Closing connection #0


This appears to be the same for results of views etc as well.

I am on CouchDBX 0.9.0 on Intel Leopard 10.5.7

Thanks,

Nitin





Mime
View raw message