Skip to content

[Bug] 在包 org.apache.hugegraph.api.graphs 中 create 方法定义了Content-Type 为 text/plain,会导致接口返回415错误。 #713

@chgjin

Description

@chgjin

Bug Type (问题类型)

exception / error (异常报错)

Before submit

  • I had searched in the issues and found no similar issues.

Environment (环境信息)

  • Server Version: v1.7.0
  • Toolchain Version: v1.7.0

Expected & Actual behavior (期望与实际表现)

org.apache.hugegraph.api.graphs 包的源码:
Image
使用请求时调用接口时,响应415异常。
Image
实际上,如果使用application/json,是可以正常创建图的。
Image

Vertex/Edge example (问题点 / 边数据举例)

nothing

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions