Skip to content

VCL control over Content-Length: 0 vs. no Content-Length #4437

@nigoroll

Description

@nigoroll

Now that the original issue has been closed as fixed (rightly so), this ticket is to get to a decision about how to add VCL control over whether or not to send Content-Length for an empty body.

I stick to my previous suggestion:

  • Allow unset x.http.Content-Length and set x.http.Content-Length = "0".
  • Both imply unset x.body.

Originally posted by @nigoroll in #4331

Metadata

Metadata

Assignees

No one assigned

    Labels

    a=ImplementIssue is ready for implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions