The docs say you can create a new doc with this type of request ... POST /somedatabase/ HTTP/1.0 Content-Length: 245 Content-Type: application/json
But I'm trying to save a doc using the latest jquery.couch.js and I'm getting the error: 415,"bad_content_type","Content-Type must be multipart/form-data". The request is ... Request URL:http://somewhere.com:5984/cdb-dev/ Request Method:POST Status Code:415 Unsupported Media Type Accept:application/json, text/javascript, */*; q=0.01 Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:en-US,en;q=0.8 Cache-Control:max-age=0 Connection:keep-alive Content-Length:34 Content-Type:application/json Host:somewhere.com:5984 Origin:http://somewhere.com:5984 Referer:http://somewhere.com:5984/ User-Agent:Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.68 Safari/534.30 X-Requested-With:XMLHttpRequest The body is: {"type":"uiState","user":"mchahn"} I'm using the standard `db.saveDoc`. My couchdb is version 1.0.2. Can someone help?
