Skip to content

asynchttpserver form data/body broken with #13147 #13361

@zedeus

Description

@zedeus

#13147 claims it does not break anything (and states it's an option), but it broke Jester's form data handling. Since there is a transition from body to bodyStream, this might have been intended.

import jester
routes:
  post "/":
    resp $request.params

nim c -d:useStdLib test.nim
curl -d 'q=foo' http://localhost:5000

With devel: {:}
Before the change: {"q": "foo"}

The Jester code responsible for getting the form data is not easily modifiable to support this change as it's non-async and relies on the old body field which is now useless.

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