Merge branch 'sofia/async-http-headers' into sofia/async-http-uri

This commit is contained in:
Sofia Rodrigues
2026-03-03 12:42:23 -03:00
2 changed files with 5 additions and 5 deletions

View File

@@ -49,14 +49,14 @@ structure Name where
value : String
/--
The proof that it's a valid header name
The proof that it's a valid header name.
-/
validHeaderName : IsValidHeaderName value := by decide
isValidHeaderValue : IsValidHeaderName value := by decide
/--
The proof that we stored the header name in normal form
The proof that we stored the header name in stored as a lower case string.
-/
normalForm : IsLowerCase value := by decide
isLowerCase : IsLowerCase value := by decide
deriving Repr, DecidableEq
namespace Name

View File

@@ -55,7 +55,7 @@ structure Value where
/--
The proof that it's a valid header value.
-/
validHeaderValue : IsValidHeaderValue value := by decide
isValidHeaderValue : IsValidHeaderValue value := by decide
deriving BEq, DecidableEq, Repr
instance : Hashable Value where