Skip to content

Commit

Permalink
Small typo fixed in the proxyRequestModifier comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tumdum authored and erikd committed Nov 9, 2017
1 parent 311caeb commit a3bed2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/HTTP/Proxy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ data Settings = Settings
, proxyHost :: HostPreference -- ^ Default value: HostIPv4
, proxyOnException :: SomeException -> Wai.Response -- ^ What to do with exceptions thrown by either the application or server. Default: ignore server-generated exceptions (see 'InvalidRequest') and print application-generated applications to stderr.
, proxyTimeout :: Int -- ^ Timeout value in seconds. Default value: 30
, proxyRequestModifier :: Request -> IO (Either Response Request) -- ^ A function that allows the the request to be modified before being run. Default: 'return . Right'.
, proxyRequestModifier :: Request -> IO (Either Response Request) -- ^ A function that allows the request to be modified before being run. Default: 'return . Right'.
, proxyLogger :: ByteString -> IO () -- ^ A function for logging proxy internal state. Default: 'return ()'.
, proxyUpstream :: Maybe UpstreamProxy -- ^ Optional upstream proxy.
}
Expand Down

0 comments on commit a3bed2e

Please sign in to comment.