A delivery can carry Content-Type twice when the inbound event also supplied one #246
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during the rework of #242 and deliberately not fixed there — it predates that PR and is outside the scope of #233 and #243. Not milestoned for 1.0; filed so it is on the record rather than only in a PR comment.
applyRequestHeaderssetsContent-Typefromevent.ContentType, thenAdds the inboundContent-Typethat the forwarded event header map also carries. The outbound request can therefore go out with twoContent-Typevalues.Definition of done:
Content-Typewhen the inbound event supplied one andevent.ContentTypeis also set.