couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Range support for attachments in trunk
Date Wed, 18 Aug 2010 11:42:14 GMT
All,

My patch to support the Range header is now on trunk. Attachments are
upgraded for efficient seeking on compaction and do not support the
Range header until that happens. "Accept-Ranges: none" is returned for
non seekable attachments and "Accept-Ranges: bytes" is returned for
the new style ones.

I inspect #att.data in couch_http_db which I've marked as a layering
violation. I've also modified couch_stream.erl and couch_file.erl so
it needs careful review.

B.

Mime
View raw message