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

HttpObjectAggregator only set Content-Length is not already set. #3291

Closed
wants to merge 1 commit into from

Commits on Dec 24, 2014

  1. HttpObjectAggregator only set Content-Length is not already set.

    Motivation:
    
    HEAD requests will have a Content-Length set that doesn't match the
    actual length. So we only want to set Content-Length header if it isn't
    already set.
    
    Modifications:
    
    If check around setting the Content-Length
    Result:
    
    A HEAD request will no correctly return the specified Content-Length
    instead of the body length
    beckje01 committed Dec 24, 2014
    Configuration menu
    Copy the full SHA
    3b8fb77 View commit details
    Browse the repository at this point in the history