RFC 3986 Reference Resolution

Summary

Implement RFC 3986 Section 5 reference resolution algorithm.

Status

✅ COMPLETED

Implementation

  • Implement resolve() function
  • Merge paths algorithm (Section 5.2.3)
  • Remove dot segments algorithm (Section 5.2.4)
  • Handle all reference types (relative, absolute, same-document)

Files

  • src/uri.zig - resolve(), mergePaths(), removeDotSegments()