Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response data. #231

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

at88mph
Copy link
Member

@at88mph at88mph commented Apr 10, 2024

Add content-length, content-md5, and content-type to the response after uploads.

}

if (actualMD5 != null) {
syncOutput.setHeader("content-md5", actualMD5.getSchemeSpecificPart());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should use syncOutput.setDigest(actualMD5) -- we don't use content-MD5 header anymore; that will make it HTTP-compliant

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@pdowler pdowler merged commit 4bf0bcd into opencadc:master Apr 10, 2024
1 check passed
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