Skip to content

CGI POST examples #14

Closed
Closed
@dbadb

Description

@dbadb

Thanks for this nice package. I have a usage question which I haven't been able (yet) to tease out of the documentation. My requirement to pull the CGI CONTENT data from a POST. I see two fields in the request obj: cgiParams and socket.params. While I do see CONTENT_LENGTH, etc, I don't see the actual CONTENT there.

Is it up to my code to perform a read on the socket stream to obtain this?

I suppose this is either suggestion for docs or a missing feature/example... For example, if the example server just had a clause handling req.method === "POST", I'd probably be good to go.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions