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

int-http:inbound with no Content-Type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.3 M1
    • Component/s: HTTP Support
    • Labels:

      Description

      Hello,
      I imported spring-int-basic-http example are ran the request using Fiddler. Here is my URL and request header:
      URL: http://localhost:8080/http-4.1.0.BUILD-SNAPSHOT/receiveGateway

      Method: Post
      HTTP Headers: User-Agent: Fiddler
      Host: localhost:8080
      Content-Length: 93
      Body: Hello SI
      

      The response is blank.
      If I add a request header:
      Content-Type: text/plain
      I get response from server. Please help me with this. I have a client application which is hitting the URL without passing Content-Type and hence I am unable to read the request body.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            an_sush Pradhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: