fix(import): align external URI identity with HTTP transport
Share pure URL canonicalization between snapshot materialization and resolution. Preserve historical v5/v6 previews while advancing normalization to v6 and the support matrix to 1.0.4. Cover encoded-dot paths, apostrophe queries, relative children, and no-refetch apply/replay.
This commit is contained in:
1 parent
178093e81b
commit
9e9c326c3e
22 files changed
+1669
-353
No files matched your search
@@ -4,6 +4,12 @@ use crank_import::rest::{
|
||||
normalize_verified_document, preview_from_ir, reference_uris,
|
||||
};
|
||||
|
||||
// `reference_resolution.rs` is an integration-test crate root, so a nested
|
||||
// module must point at the file explicitly to keep the path
|
||||
// `tests/reference_resolution/uri_transport.rs` (relative to this file's dir).
|
||||
#[path = "reference_resolution/uri_transport.rs"]
|
||||
mod uri_transport;
|
||||
|
||||
fn digest(byte: char) -> SourceDigest {
|
||||
SourceDigest::parse(byte.to_string().repeat(64)).unwrap()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user