couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Parker <>
Subject Referer header required for POST requests?
Date Thu, 29 Mar 2012 20:40:32 GMT
Hi all,

I'm writing a load test tool for CouchDB (coming soon, will be open
sourced, will announce it here, yada yada :) and when trying to insert
a document with a HTTP request like so:

POST /test_db/10 HTTP/1.1
Connection: keep-alive
Content-Type: application/json
Content-Length: 168

I get the reply:

{"error":"bad_request","reason":"Referer header required."}

Why is the referrer header required? Furthermore, for a standalone
tool like this, what's an appropriate value? I couldn't find any
mention of this header at I'm using Couch


View raw message