Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-5632

content-type is duplicated in camel quarkus vertx-http client response

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Low
    • 0
    • +

      see attached reproducer, content-type has duplicate value:

       

      $ curl -v -H 'Content-Type: application/json' -X POST -H "id:" -d '{"input":"foo"}' http://localhost:8080/hello
      Note: Unnecessary use of -X or --request, POST is already inferred.
      *   Trying 127.0.0.1:8080...
      * Connected to localhost (127.0.0.1) port 8080 (#0)
      > POST /hello HTTP/1.1
      > Host: localhost:8080
      > User-Agent: curl/7.85.0
      > Accept: */*
      > Content-Type: application/json
      > Content-Length: 15
      > 
      * Mark bundle as not supporting multiuse
      < HTTP/1.1 200 OK
      < Accept: */*
      < Accept: */*
      < User-Agent: curl/7.85.0
      < User-Agent: Vert.x-WebClient/4.2.7.redhat-00003
      < User-Agent: curl/7.85.0
      < Content-Length: 17
      < Content-Type: [application/json, application/json]
      < 
      * Connection #0 to host localhost left intact

              rhagallice Alexandre Gallice
              rhn-support-shiggs Stephen Higgs
              James Netherton
              Jiri Simek Jiri Simek
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: