fix: port and fragment

This commit is contained in:
Sofia Rodrigues
2026-03-12 15:09:49 -03:00
parent 394c999c2a
commit 400908a2f4

View File

@@ -892,14 +892,6 @@ def authority? : RequestTarget → Option URI.Authority
| .absoluteForm u _ => u.authority
| _ => none
/--
Extracts the fragment component from a request target, if available.
-/
def fragment? : RequestTarget Option String
| .originForm _ _ => none
| .absoluteForm u _ => u.fragment
| _ => none
/--
Extracts the full URI if the request target is in absolute form.
-/