Skip to content

GZIP Compression Header Without Implementation in client.go #273

@jmesout

Description

@jmesout

GZIP Compression Header Without Implementation in client.go

Severity: High
File: client.go
Location: Line 197

Description

The Content-Encoding: gzip header is set but there's no actual request body compression implemented. This could cause server-side issues if the server expects compressed content.

Suggested Fix

Either implement proper GZIP compression or remove the header:

// Remove this line:
req.Header.Set("Content-Encoding", "gzip")

Labels: bug, critical

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