Skip to content

Can the lws server handle encoded request with chunk #3544

@KehYiQian

Description

@KehYiQian

Hi,

Can the server handle the request that encoding with "Transfer-Encoding: chunked" ? For the example I just build the server using lws and I test the server using the curl as the client, then is it can handle the command like

echo '{"hello":"world"}' > body.json
curl --http1.1 -k -H "Transfer-Encoding: chunked" -H "Content-Type: application/json" -H "Authorization: Basic bXl1c2VyOm15cGFzc3dvcmQ=" --data-binary @body.json https://127.0.0.1:7682/api/time

If yes, can simply summarize how to handle? Thank you.

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