• TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 hours ago

    While I like the goal of this, why not errata the existing spec to allow GET requests to have bodies? Would that be too much of a breaking change?

    • bitfucker@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      16 hours ago

      Adding stuff is easier than patching existing implementations is probably the reason why. Because up until this point, the webserver can just ignore the GET body request but if the client starts sending with body then who knows what bug might surface that turns into security vulnerability.

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    This is pretty good, though I expect even if it’s accepted it’s going to be a long journey before you can reliably use it

    If we’re adding stuff to http, it would be nice for some additional status codes, things have moved on a bit since the early days

      • calliope@retrolemmy.com
        link
        fedilink
        arrow-up
        0
        ·
        21 hours ago

        I believe you can use 422: Unprocessable Content for this.

        The request was well-formed (i.e., syntactically correct) but could not be processed.

        “I know what you said, but I’m not answering you.”