Skip to content

Phase 15: Add HTTP compatibility matrix and integration test harness #16

Description

@ashishsinghbora

Goal

Prove the downloader works against real-world server behaviors instead of only ideal HTTP responses.

Scope

Create a local integration test harness covering:

  • Range-supported server.
  • No-range server.
  • HEAD unsupported server.
  • Redirects.
  • Incorrect Content-Length.
  • Invalid Content-Range.
  • Connection drops mid-chunk.
  • Slow responses.
  • ETag/Last-Modified changes.
  • HTTP 429/5xx retry behavior.
  • Servers that ignore a requested range.

Acceptance criteria

  • Test server scenarios are deterministic.
  • Each scenario has an expected downloader behavior.
  • Full-file hashes are compared after successful transfers.
  • Regression tests are added whenever a production bug is fixed.

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

    backendbackend issuesphasephase issuestestingtesting issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions