Skip to content

Consider removing Expect: 100-continue request header #262

Closed

Description

@andig

When we send 100 continue in https://github.com/reactphp/http/blob/master/src/Server.php#L225 shouldn‘t that header line be removed, similar to updating content length when buffering? Noticed this during building http proxy for php-pm.

Activity

  1. WyriHaximus commented on Nov 22, 2017

    @WyriHaximus
    Member

    Can't find anything in the specs about having to remove it. Did you run into issues with it?

  2. andig commented on Nov 22, 2017

    @andig
    ContributorAuthor

    If I use the server to receive the request on proxy and slave side it will send the 100 twice which doesn‘t make sense?

  3. WyriHaximus commented on Nov 22, 2017

    @WyriHaximus
    Member

    Good point, does makes sense to remove it then I suppose. What do you think @clue ?

  4. changed the title [-]Remove expect header?[/-] [+]Consider removing `Expect: 100-continue` request header[/+] on Dec 8, 2017
  5. clue commented on Dec 8, 2017

    @clue
    Member

    I think you're raising a very valid point here! 👍 I would like to see what kind of implications this has, does anybody feel like filing a PR?

  6. clue commented on Mar 20, 2018

    @clue
    Member

    I'm closing this for now as it hasn't received any input in a while and I have no plans to change this myself anytime soon. Please come back if you feel this is still an issue and we can reopen this 👍

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