apache / apache/couchdb

Support Content-Digest header when formalised

Open
#4,583 0 comments 0 reactions 0 assignees View on GitHub
enhancement needs-triage
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

## Summary

Support the Content-Digest / Repr-Digest headers when the Digest Fields RFC is formalised (https://datatracker.ietf.org/doc/draft-ietf-httpbis-digest-headers/)

## Desired Behaviour

Users of CouchDB can use the new request and response headers to gain additional confidence that there was no in-flight corruption, subject to the limits declared in the RFC.

## Possible Solution

N/A

## Additional context

We removed support for the deprecated Content-MD5 header in https://github.com/apache/couchdb/pull/4574 as part of a series of changes to remove all use of MD5 from CouchDB. Until the Digest Fields RFC we have no replacement. At that time, consider adding support.

Related issue: https://github.com/apache/couchdb/issues/4566 Remove content-md5 hash

Contributor guide

Open the contributing guide

Research direction

Start by reading the Digest Fields RFC linked in the issue and determine the finalized requirements for Content-Digest and Repr-Digest request and response headers. Review related issue #4566 and pull request #4574 for the context around removing Content-MD5. Done means CouchDB supports the finalized headers within the RFC's stated limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
api, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.