Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-1951

HttpRequestExecutingMessageHandler and Content-Type headers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: Adapters
    • Labels:
      None

      Description

      HttpRequestExecutingMessageHandler (via http:outbound-channel-adapter) populates the Content-Type header on all HTTP requests, even when it is not applicable (e.g., GET). As Content-Type is meant to identify the message body for POST and PUT requests, it does not make sense to populate it for other HTTP methods (GET, HEAD, DELETE, TRACE, optional for OPTIONS).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleg.zhurakousky@springsource.com Oleg Zhurakousky
                Reporter:
                wrbriggs Will Briggs
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: