Skip to content

[Http] Implement full HTTP/1.1 spec #3

Closed

Description

@igorw

Some todos:

  • delimit requests by empty body, content-length or chunked encoding (as defined by the RFC)
  • keepalive
  • 100-continue handling (could be improved by adding a separate event for that header)
  • pipelining
  • multipart parsing (inspiration)

We also need to decide how to handle encoding of outgoing data. There are different use cases for modifying the response, some of which may require buffering: websockets, gzip compression, chunked encoding.

Activity

  1. added a commit that references this issue on Jul 8, 2013
  2. andig commented on Mar 11, 2015

    @andig

    Is there any progress? I understand without this solved there is no simple reading POST requests?

  3. onigoetz commented on Mar 12, 2015

    @onigoetz

    I started work on reactphp/http#13 and that adds the ability to read POST request parameters

    But don't know how to finalize the part with file uploads. we should implement each upload a a stream, but I don't know how to do it.

    If you want to give a hand, you're welcome to do so.

  4. andig commented on Mar 20, 2015

    @andig

    Imho simple post handling is a very necessary first step. Why not skip multipart for now?

  5. onigoetz commented on Apr 12, 2015

    @onigoetz

    Actually, POST is also sent through multipart. An implementation of POST without multipart would be incomplete.

  6. clue commented on Feb 8, 2017

    @clue
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions