Skip to content

Commit b7177bd

Browse files
authored
Fix list/keyword formatting in redirect options.
The list of redirect options ran together rather than showing options individually. Keywords are also moved to verbatim/code formatting as used elsewhere.
1 parent becf772 commit b7177bd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.org

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -623,14 +623,14 @@ request to =GET=.
623623

624624
Redirect Options:
625625

626-
- :trace-redirects :: If true, clj-http will enhance the response object with a
626+
- =:trace-redirects= :: If true, clj-http will enhance the response object with a
627627
list of redirected URLs with key: =:trace-redirects=.
628-
- :redirect-strategy :: Sets the redirect strategy for clj-http. Accepts the following:
629-
:none - Perform no redirects
630-
:default - See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/DefaultRedirectStrategy.html
631-
:lax - See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/LaxRedirectStrategy.html
632-
:graceful - Similar to :default, but does not throw exceptions when max redirects is reached. This is the redirects behaviour in 2.x
633-
nil - When nil, assumes :default
628+
- =:redirect-strategy= :: Sets the redirect strategy for clj-http. Accepts the following:
629+
- =:none= - Perform no redirects
630+
- =:default= - See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/DefaultRedirectStrategy.html
631+
- =:lax= - See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/LaxRedirectStrategy.html
632+
- =:graceful= - Similar to =:default=, but does not throw exceptions when max redirects is reached. This is the redirects behaviour in 2.x
633+
- =nil= - When nil, assumes =:default=
634634

635635
You may also pass in an instance of RedirectStrategy if you want a behaviour that's not implemented
636636

0 commit comments

Comments
 (0)