Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.11, 0.11.1, 0.11.2, 1.0, 1.0.1
-
None
-
New Contributors Level (Easy)
Description
The _log method for couchdb servers has query arguments "bytes" and "offset", but they seem to behave really weirdly. If offset >= bytes, an eof error is returned - otherwise offset is just substracted from bytes and the request behaves identically otherwise.
A simple fix to the expected behaviour is included - offset counts backwards from bytes.