Skip to content

Limit number of ETags in header to e.g. 5 #471

Description

@Syndesi

In the classes IfNoneMatchControllerEventListener and IfMatchControllerEventListener the client provided headers are read and parsed for ETags. Currently the number of possible ETags is unlimited / only restricted by HTTP limits.

Acceptance criteria:

  • Limit number of ETags per requests to 5.
  • Throw 400 bad exception (or better) should the user supply more than 5 ETags.
  • Write feature test to verify this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImproving existing functionalities.

    Type

    No type

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions