Skip to content

should stdin be the request body? #967

Description

@withinboredom

Describe you feature request

I was trying to read a slow, chunked request in PHP, however, php://input can only be read once and to completion. What do you think about adding the ability to read a request body from php://stdin? I'm not sure how this would work, exactly, but it would give the ability to stream a body (no matter the size)?

Describe the solution you'd like
php://stdin should allow reading the request body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions