[Bug]: Invalid chunked encoding response for _all_dbs/_all_docs/
Version
unknown
Describe the problem you're encountering
Bug: Invalid chunked encoding response Description: Requesting http://127.0.0.1:5984/_all_dbs/_all_docs/ returns an invalid chunked-encoded response. Steps to reproduce: curl -v http://127.0.0.1:5984/_all_dbs/_all_docs/ --basic -u admin:admin Expected: Valid HTTP response Actual: chunk hex-length char not a hex digit: 0x48 Note: This also fails with xh (ducale/xh#...), and now confirmed with curl 8.15.0. Server: CouchDB/3.5.1
Expected Behaviour
Requesting http://127.0.0.1:5984/_all_dbs/_all_docs/ no answer
Steps to Reproduce
Was funktioniert
xh :5984/_all_dbs/ → ✅ OK (kleiner Response)
xh :5984/meine_datenbank/_all_docs → ✅ OK (mittlerer Response)
curl http://USER:PASSWORD@localhost:5984/_all_dbs/_all_docs/ → ✅ OK
Nicht funktioniert
xh :5984/_all_dbs/_all_docs/ → ❌ Fehler
Erwartetes Verhalten
Der Response sollte korrekt angezeigt werden (wie bei curl). Umgebung
xh Version: 0.25.3
Platform: Windows / Linux
TLS: native-tls + rustls
Activity ducaale ducaale commented 2 days ago ducaale 2 days ago Owner
I can reproduce this with cURL so it might be worth reporting this as a bug to CouchDB
$ curl -v http://127.0.0.1:5984/_all_dbs/_all_docs/ --basic -u admin:admin
- Trying 127.0.0.1:5984...
- Connected to 127.0.0.1 (127.0.0.1) port 5984
- using HTTP/1.x
- Server auth using Basic with user 'admin'
GET /_all_dbs/_all_docs/ HTTP/1.1 Host: 127.0.0.1:5984 Authorization: Basic YWRtaW46YWRtaW4= User-Agent: curl/8.15.0 Accept: /
- Request completely sent off < HTTP/1.1 200 OK < Cache-Control: must-revalidate < Content-Type: application/json < Date: Tue, 17 Feb 2026 19:37:50 GMT < ETag: "3BMDY8DYDOX8FA7VISMFTFZS0" < Server: CouchDB/3.5.1 (Erlang OTP/26) < Transfer-Encoding: chunked < X-Couch-Request-ID: 05c87bd694 < X-CouchDB-Body-Time: 0 <
- chunk hex-length char not a hex digit: 0x48
- Illegal or missing hexadecimal sequence in chunked-encoding
- closing connection #0 curl: (56) chunk hex-length char not a hex digit: 0x48
Your Environment
No response
Additional Context
No response
There is no such endpoint as /_all_dbs/_all_docs, so the fix here is to return a better error (a 404).