mirror of
https://github.com/typeable/wai.git
synced 2025-01-08 15:37:19 +03:00
adding doctests.
This commit is contained in:
parent
8583c33ce5
commit
c8da01af35
@ -89,6 +89,8 @@ parsePath path
|
||||
-- ("Accept-Ranges","bytes")
|
||||
-- >>> parseHeader "Host: example.com:8080"
|
||||
-- ("Host","example.com:8080")
|
||||
-- >>> parseHeader "NoSemiColon"
|
||||
-- ("NoSemiColon","")
|
||||
|
||||
parseHeader :: ByteString -> H.Header
|
||||
parseHeader s =
|
||||
|
Loading…
Reference in New Issue
Block a user