Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2247

Server should respect charset specified in request header

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 3.3.7
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      Currently, the server uses UTF-8 as its default charset and that is hardcoded in the system [1], irrespective of the content-type provided in the request. This task is to read the charset from the HTTP Content-Type header and use the charset to encode the response string.

      [1]https://github.com/apache/tinkerpop/blob/master/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java#L254

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              divijvaidya Divij Vaidya
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: