Skip to content

SAMMI does not properly handle Expect headers in webhook requests #23

Description

@reversefold

When sending a webhook request to SAMMI from a client that implements the "Expect: 100-Continue" header, SAMMI does not send back a "100 Continue" or "417 Expectation Failed", causing some clients to hang or not send their payloads (specifically, .NET's HTTP client never sends the payload, causing the webhook to never be received).

Sending "100 Continue" should fix the problem as the payload would then be received. Sending "417 Expectation Failed" should also solve the problem as the client is supposed to resend without the header at that point, but it's unclear to me if this is something built into most client libraries to automatically do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions