apache / couchdb

Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
https://couchdb.apache.org/
Apache License 2.0
6.27k stars 1.03k forks source link

expand x-couch-request-id to allow uuids #5328

Closed rnewson closed 3 weeks ago

rnewson commented 3 weeks ago

Overview

X-Couch-Request-Id has always been hardcoded to 5 random bytes, expressed as hex. This is perfectly fine for pretty much everyone but is overly prescriptive. Allow up to 36 alphanumeric characters plus underscore and dash, so as to accommodate a UUID as well as other patterns.

Testing recommendations

covered by test

Related Issues or Pull Requests

Checklist