Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17655

UnsupportedMediaTypeException for application/fastinfoset Content-Type in reactive web client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Last commented by a User:
      true

      Description

      org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type 'application/fastinfoset' not supported for bodyType=org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type 'application/fastinfoset' not supported for bodyType=* at org.springframework.web.reactive.function.BodyInserters.unsupportedError(BodyInserters.java:300) at org.springframework.web.reactive.function.BodyInserters.lambda$writeWithMessageWriters$9(BodyInserters.java:290) at java.util.Optional.orElseGet(Optional.java:267) at org.springframework.web.reactive.function.BodyInserters.writeWithMessageWriters(BodyInserters.java:290) at org.springframework.web.reactive.function.BodyInserters.lambda$fromObject$1(BodyInserters.java:85) at org.springframework.web.reactive.function.client.DefaultClientRequestBuilder$BodyInserterRequest.writeTo(DefaultClientRequestBuilder.java:249) at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$exchange$1(ExchangeFunctions.java:103) at org.springframework.http.client.reactive.ReactorClientHttpConnector.lambda$connect$2(ReactorClientHttpConnector.java:110) at reactor.netty.http.client.HttpClientConnect$HttpClientHandler.requestWithBody(HttpClientConnect.java:529) at reactor.netty.http.client.HttpClientConnect$HttpObserver.lambda$onStateChange$0(HttpClientConnect.java:396) at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:44)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            piyparmar Piyush Parmar
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              3 years, 29 weeks, 6 days ago