Skip to content

admin-api antispam stat endpoint not respecting Accept-Encoding #97

Description

@mgkeeley

The /api/v1/system/antispam/stat endpoint is always using Content-Encoding: zstd, even when Accept-Encoding: gzip, deflate is set.

This is causing a "Failed to fetch" error in the web ui.

VARIANT="grommunio appliance"
VARIANT_ID="appliance"
VERSION_ID="16.0"
VERSION="2026.06.1"

To reproduce:

curl --url 'http://localhost:8080/api/v1/system/antispam/stat' -H 'Accept-Encoding: gzip, deflate' -b 'grommunioAuthJwt=REDACTED' --output /dev/null -v 2>&1 | grep "Content-Encoding"
< Content-Encoding: zstd

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions