Skip to content

servicecomb现在支持websocket接口吗?可以响应multipart格式吗? #1954

@KevinGit585

Description

@KevinGit585
  1. servicecomb现在支持开发websocket接口吗?
  2. 有个项目从spring迁移到CSE,之前返回的响应格式为multipart格式,如下:
--boundary
Content-Disposition: form-data; name="first result"
Content-Type: application/json; charset=UTF-8
{ "hello": "first" }
--boundary
Content-Disposition: form-data; name="second result"
Content-Type: application/json; charset=UTF-8
{ "hello": "second" }
--boundary--

我修改了CSE接口定义,produces = MediaType.MULTIPART_FORM_DATA_VALUE,但是返回的时候还是 application/json,如下:
image
请求CSE现在支持这种multipart响应格式吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions