on master help sign in
Improve docs for ‘useURI’
68e84cdmrkkrp
Network/HTTP/Req.hs+2−2
@@ -895,8 +895,8 @@ useHttpsURI uri = do
895 foldl' (/:) urlHead (URI.unRText <$> NE.toList xs)
895 foldl' (/:) urlHead (URI.unRText <$> NE.toList xs)
896 return (url, uriOptions uri)
896 return (url, uriOptions uri)
897
897
898−-- | A more general URI parsing function that can be used when scheme is not
898+-- | A combination of 'useHttpURI' and 'useHttpsURI' for cases when scheme
899−-- known beforehand.
899+-- is not known in advance.
900--
900--
901-- @since 3.0.0
901-- @since 3.0.0
902
902