8000 VALUE ERROR in HandleRESTRequest · Issue #78 · Dyalog/Jarvis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
VALUE ERROR in HandleRESTRequest #78
Closed
@bpbecker

Description

@bpbecker

There's a VALUE ERROR on ct in HandleRESTRequest under the following conditions:

  • You're using REST mode
  • You have ParsePayload turned on
  • The request method is one that requires a payload (e.g. POST or PATCH)
  • The ContentType header is not a type we can parse (not application/json or application/xml)

The fix is straightforward - ct should have been assigned from ns.Req.ContentType when we go to check the content type.
In fact ct was already localized, I just forgot to assign it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0