Skip to content

fix: accept case-insensitive export media types - #100

Open
MuhammadFaizan-prog wants to merge 1 commit into
prooflinedev:mainfrom
MuhammadFaizan-prog:codex/proofline-export-media-type
Open

MuhammadFaizan-prog wants to merge 1 commit into
prooflinedev:mainfrom
MuhammadFaizan-prog:codex/proofline-export-media-type

Conversation

@MuhammadFaizan-prog

Copy link
Copy Markdown

Who this helps

CLI exports work when a server capitalizes a valid CSV or NDJSON media type.

What changed

Compare the response media type case-insensitively after removing parameters. Keep the version, horizon, encoding, and output checks. The HTTP fixture covers mixed-case media types and verifies that a wrong type produces no output.

How I tested it

  • cargo fmt --check
  • cargo test --locked --test http (40 passed)
  • cargo clippy --locked --lib --bins --test http -- -D warnings
  • cargo build --locked --release. Release --version, setup --print, and review --schema also passed.

The broad Windows checks did not pass. Existing all-targets Clippy warnings and updater and installer test failures are documented in #85.

Prepared with AI assistance (Codex).

Signed-off-by: Muhammad Faizan <130775084+MuhammadFaizan-prog@users.noreply.github.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant