wanjus opened a new issue, #5892:
URL: https://github.com/apache/couchdb/issues/5892

   ### 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](https://github.com/ducaale)
   [2 days 
ago](https://github.com/ducaale/xh/issues/451#issuecomment-3916745512)
   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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to