secret
Created

  • Download Gist
response1.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
---error: { stack: [Getter/Setter],
arguments: undefined,
type: undefined,
message: 'no_db_file',
error: 'not_found',
http_code: 404,
namespace: 'couch',
request:
{ method: 'PUT',
headers: { 'content-type': 'application/json' },
body: '{"nano":true}',
uri: 'http://admin:admin@localhost:5984/test2s/test',
callback: [Function] } }
---headers: { server: 'CouchDB/1.2.0a-b11df55-git (Erlang OTP/R14B01)',
date: 'Sat, 20 Aug 2011 12:22:57 GMT',
'content-type': 'text/plain;charset=utf-8',
'content-length': '44',
'cache-control': 'must-revalidate',
'status-code': 404 }
---body: { error: 'not_found', reason: 'no_db_file' }
---error: null
---headers: { server: 'CouchDB/1.2.0a-b11df55-git (Erlang OTP/R14B01)',
location: 'http://localhost:5984/test2s/test',
etag: '"1-76cd9e165b6635ca5627ae79aba06a6b"',
date: 'Sat, 20 Aug 2011 12:22:57 GMT',
'content-type': 'text/plain;charset=utf-8',
'content-length': '67',
'cache-control': 'must-revalidate',
'status-code': 201 }
---body: { ok: true,
id: 'test',
rev: '1-76cd9e165b6635ca5627ae79aba06a6b' }

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.