couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HttpDocumentApi" by PeterHoffmann
Date Wed, 24 Sep 2008 16:39:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by PeterHoffmann:
http://wiki.apache.org/couchdb/HttpDocumentApi

The comment on the change is:
etag and quoting

------------------------------------------------------------------------------
  
  == ETags/Caching ==
  
- CouchDB sends an ''ETag'' Header for document requests. The ETag Header is simply the document's
revision.
+ CouchDB sends an ''ETag'' Header for document requests. The ETag Header is simply the document's
revision in quotes.
  
  For example, a ''GET'' request:
  
@@ -559, +559 @@

  expires: Tue, 13 Nov 2007 23:09:50 GMT
  transfer-encoding: chunked
  content-type: text/plain;charset=utf-8
- etag: 615790463
+ etag: "615790463"
  }}}
  
  ''POST'' requests also return an ''ETag'' header for either newly created or updated documents.

Mime
View raw message