From 5190773d769d7e37c923310954aefff4c2075659 Mon Sep 17 00:00:00 2001 From: Alexander Kjeldaas Date: Thu, 22 Dec 2016 22:05:58 +0100 Subject: [PATCH] Document escape rules. --- http-client/Network/HTTP/Client/Request.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http-client/Network/HTTP/Client/Request.hs b/http-client/Network/HTTP/Client/Request.hs index 34a57dc6..dd5207fb 100644 --- a/http-client/Network/HTTP/Client/Request.hs +++ b/http-client/Network/HTTP/Client/Request.hs @@ -110,6 +110,8 @@ parseUrlThrow = -- -- 'Request' created by this function won't cause exceptions on non-2XX -- response status codes. +-- +-- The URI string will be escaped, and should not be URI escaped. -- -- @since 0.4.30 parseRequest :: MonadThrow m => String -> m Request