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

allow custom Content-Length for HEAD method #5270

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

PeterRK
Copy link
Contributor

@PeterRK PeterRK commented Feb 28, 2023

In some cases, enity size can be figured out without reading all data. When I want to response such size info for HEAD request, I find that Content-Length header is always set 0. Here is a fix.

@jansupol
Copy link
Contributor

jansupol commented Mar 2, 2023

Yep, this sounds right.

Please register by the Eclipse Foundation to be able to provide fixes there. See Missing ECA for more details.

@jansupol
Copy link
Contributor

jansupol commented Mar 2, 2023

Please update the copyright year to pass the tests. Feel free to add a test for this functionality.

@senivam senivam merged commit 18903fd into eclipse-ee4j:master Mar 6, 2023
@senivam senivam added this to the 2.40 milestone Mar 6, 2023
@jansupol jansupol modified the milestones: 2.40, 2.39.1 Mar 23, 2023
This was referenced Mar 23, 2023
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.

3 participants