Skip to content

pzstd file is not detected as zstd #619

@Koyorice

Description

@Koyorice

Attach the file for which the detection is inaccurate
test.zip
test.txt.zst uses zstd
test2.txt.zst uses pzstd

Expected MIME type
application/zstd

Returned MIME type
application/octet-stream

Version of the library you are using
v1.4.7

Output of go version
go version go1.23.4 linux/amd64

Additional context
https://github.com/facebook/zstd
Files created using pzstd are not detection correctly, if use file command both will be detected as application/zstd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions