Skip to content

CLDSRV-1091: Store and return Content-Language - #6395

Open
tcarmet wants to merge 1 commit into
bugfix/CLDSRV-1090-aws-chunked-trailing-commafrom
bugfix/CLDSRV-1091-store-content-language
Open

tcarmet wants to merge 1 commit into
bugfix/CLDSRV-1090-aws-chunked-trailing-commafrom
bugfix/CLDSRV-1091-store-content-language

Conversation

@tcarmet

@tcarmet tcarmet commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Content-Language sent when writing an object was accepted but silently dropped, so HEAD and GET never returned it, unlike the other system headers sent in the same request. This stores it on PutObject, CopyObject and multipart uploads, follows the usual COPY/REPLACE rules, and returns it on HEAD and GET, with a response-content-language override still taking precedence.

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.63%. Comparing base (e4416c3) to head (628aebb).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
lib/api/apiUtils/object/createAndStoreObject.js 85.50% <100.00%> (+0.10%) ⬆️
lib/api/completeMultipartUpload.js 90.69% <ø> (ø)
lib/api/objectCopy.js 93.31% <ø> (ø)
lib/services.js 87.56% <100.00%> (+0.03%) ⬆️
lib/utilities/collectResponseHeaders.js 100.00% <100.00%> (ø)
@@                              Coverage Diff                               @@
##           bugfix/CLDSRV-1090-aws-chunked-trailing-comma    #6395   +/-   ##
==============================================================================
  Coverage                                          85.63%   85.63%           
==============================================================================
  Files                                                209      209           
  Lines                                              13619    13623    +4     
==============================================================================
+ Hits                                               11662    11666    +4     
  Misses                                              1957     1957           
Flag Coverage Δ
file-ft-tests 68.07% <100.00%> (+<0.01%) ⬆️
file-ft-tests-null-compat 68.58% <100.00%> (+<0.01%) ⬆️
kmip-ft-tests 28.33% <50.00%> (+0.03%) ⬆️
mongo-v0-ft-tests 69.27% <100.00%> (+0.03%) ⬆️
mongo-v1-ft-tests 69.25% <100.00%> (+<0.01%) ⬆️
multiple-backend 36.65% <50.00%> (+<0.01%) ⬆️
s3c-ft-tests-v0 63.80% <100.00%> (+0.01%) ⬆️
s3c-ft-tests-v0-null-compat 63.86% <100.00%> (+0.01%) ⬆️
s3c-ft-tests-v1 63.78% <100.00%> (+0.01%) ⬆️
sur-tests 35.74% <75.00%> (+0.01%) ⬆️
sur-tests-inflights 37.57% <75.00%> (+0.01%) ⬆️
unit 72.53% <100.00%> (+<0.01%) ⬆️
utapi-v2-tests 34.55% <75.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tcarmet
tcarmet added this pull request to stack #6396 November 25, 2026 00:21
@tcarmet
tcarmet marked this pull request as ready for review November 25, 2026 00:25
@tcarmet
tcarmet requested a review from a team November 25, 2026 00:25
@tcarmet
tcarmet force-pushed the bugfix/CLDSRV-1091-store-content-language branch 2 times, most recently from 40e82cf to 4d388e5 Compare November 25, 2026 00:53
Content-Language sent on PutObject, CopyObject and
CreateMultipartUpload was accepted but never stored, so HEAD and GET
did not return it. Store it with the other system headers, carry it
from the multipart upload to the completed object, keep the source
value on a COPY directive, and return it on HEAD and GET. A
response-content-language override still takes precedence.
@tcarmet
tcarmet force-pushed the bugfix/CLDSRV-1091-store-content-language branch from 4d388e5 to 628aebb Compare November 25, 2026 20:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants