Skip to content

ipip-0288 lacking etag clarity #490

@SgtPooki

Description

@SgtPooki

running conformance tests for @helia/verified-fetch results in the following error:

{
  "Time":"2025-02-11T09:07:30.674466-06:00",
  "Action":"output",
  "Package":"Gateway Tests",
  "Test":"TestTar/GET_TAR_with_format=tar_and_extract/Header_Etag",
  "Output":"        Error: Header 'Etag' expect to find substring 'W/\"bafkreialihlqnf5uwo4byh4n3cmwlntwqzxxs2fg5vanqdi3d7tb2l5xkm.x-tar', got '\"bafkreialihlqnf5uwo4byh4n3cmwlntwqzxxs2fg5vanqdi3d7tb2l5xkm.tar\"'\n"
}

However, there is no clarification on etag headers in the tar-response spec. We should link to

- Example: If TAR stream is generated by traversing an UnixFS directory in non-deterministic

Additional question(s):

  1. Should tar responses only include etag ending in x-tar, or only when it's a weak etag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions