Skip to content

Parse request body #105

Description

@clue

We should provide an easier way to access the parsed request body, i.e. $_POST values from HTML forms, file uploads etc.

This depends on detecting actual message lengths first, see #104.

I'm filing this mostly for the reference, there's been some discussion to wait for PSR-7 message support (#28) first.

Activity

  1. added this to the v0.5.0 milestone on Feb 10, 2017
  2. clue commented on Feb 10, 2017

    @clue
    MemberAuthor

    For the reference: Parts of this had been implemented on the master branch but had to be reverted due to licensing and blocking issues, see #59 for more details.

    Some projects have started to build on top of this, so we're currently providing a dev branch for this: https://github.com/reactphp/http/tree/streaming-multipart. See also #41 for more details. Note that this is development preview only and we can only provide limited support for this.

    In other words: If you run into issues with this branch, please refrain from opening new issues and comment on the respective PRs instead.

    It's very likely the future version will look somewhat different than this development preview, so please think twice before relying on this 👍

  3. clue commented on Feb 10, 2017

    @clue
    MemberAuthor

    It's very likely the future version will look somewhat different than this development preview […]

    Rest assured, we're working on hard on providing a stable base for this soon. Bear with us and we'll keep this ticket updated 👍

  4. andig commented on Feb 10, 2017

    @andig
    Contributor

    +1 for keeping the ability to access plain body. Otherwise it becomes horribly cumbersome to interface e.g. with symfony/httpkernel (observed as problem in php-pm/php-pm#203)

  5. WyriHaximus commented on Feb 10, 2017

    @WyriHaximus
    Member

    @andig without any doubt we will allow users to have access to the raw body

  6. modified the milestones: v0.5.0, v0.6.0, v0.8.0 on Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions