Joe Swatosh
e1dbdf065e
Forward the env to Request::Authorization#header_from ( #1450 )
2022-10-03 13:20:07 +01:00
Jason Karns
607a725719
Move JsonResponse middleware to response section
...
The JsonResponse middleware was listed under the Request middleware section for some reason.
2022-07-24 16:11:41 +02:00
水上 皓登
9d4486616a
docs link fixed
2022-07-08 17:16:39 +02:00
Matt
71a70f1d8c
Remove examples using extension middleware
...
People want to copy documentation snippets and use them, so they should be compatible with what Faraday offers out-of-the-box.
Fixes #1417
2022-05-17 11:06:50 +02:00
Nicolas Svirchevsky
24eafaa99a
Doc: Added raise_error middleware configuration ( #1412 )
2022-04-27 15:52:38 +01:00
Alexander Popov
8f00640dd5
Update custom middleware documentation
...
Add a section with link to the repo with template.
2022-02-23 21:09:13 +01:00
José Augusto
816d824bc1
Removing all sushi.com references and change to httpbingo.org ( #1384 )
...
Fixes #1164
2022-01-18 16:43:36 +00:00
Yuki Hirasawa
026e9569a1
docs: fix regex pattern in logger.md examples ( #1378 )
2022-01-11 14:26:06 +00:00
Mattia Giuffrida
cb47eca810
Remove multipart middleware and all its documentation and tests.
2022-01-03 09:40:52 +01:00
Matt
93a693b9ef
* Remove retry middleware and all its documentation and tests. ( #1356 )
2022-01-02 10:19:15 +00:00
Matt
fdf797bb28
Add Faraday 1.x examples in authentication.md docs
...
Fixes #1317
Fixes #1314
2021-09-01 10:57:37 +02:00
Matt
fe600c72ad
Drop deprecated auth helpers from Connection. ( #1308 )
...
Merge Authentication middleware.
Add possibility of passing a proc.
Update documentation.
2021-08-15 10:28:49 +02:00
Matt
7d727f4f02
Merge latest commits from 1.x
2021-08-14 13:32:53 +01:00
Matt
fa612a060a
[1.x] Deprecate Authorization helpers in Faraday::Connection ( #1306 )
2021-08-14 13:30:11 +01:00
Matt
4b6162d364
Move json middleware (request and response) from faraday_middleware ( #1300 )
2021-08-09 08:52:02 +01:00
Adam Doppelt
11d793dd7e
Docs: add more middleware examples ( #1277 )
2021-05-02 08:28:29 +02:00
Matt
453b26f1f0
Improves retry middleware documentation. ( #1228 )
2020-12-31 11:25:20 +00:00
Nathan Beyer
01c25e880c
Adjust the retry documentation and spec to align with implementation ( #1197 ) ( #1198 )
2020-10-27 06:11:38 +01:00
Tijmen Brommet
95667f848a
Update documentation on using the logger ( #1196 )
...
`Faraday::Logging::Formatter` is the correct class to subclass.
2020-10-26 09:17:27 +01:00
Olle Jonsson
4e9f4b06f1
Fix a typo re: on_response -> on_complete
2020-10-23 17:28:00 +02:00
Olle Jonsson
0977306827
docs: Fix typo in markdown
...
Missing backtick ruined some formatting.
2020-10-22 20:23:25 +02:00
Matt
d56742a174
Introduces on_request and on_complete methods in Faraday::Middleware. ( #1194 )
2020-10-22 15:04:46 +01:00
Alexander Popov
680b9f8a6c
Add EditorConfig file
...
Resolve issues.
More info here: https://editorconfig.org/
2020-04-19 22:56:50 +02:00
Olle Jonsson
6015ae97d6
[docs] Use "including" wording
...
By mentioning "including" instead of "configuring like this", we avoid the possible understanding "replace the whole list".
2020-01-09 10:37:22 +01:00
Vincent Voyer
024bfebd1a
docs(retry): precise usage of retry-after
...
fixes https://github.com/lostisland/faraday/pull/1109#issuecomment-572448991
2020-01-09 09:48:13 +01:00
Mattia
8a43a47919
Retry middleware documentation fix ( #1109 )
...
Fixes https://github.com/lostisland/faraday/pull/773#issuecomment-571089608
2020-01-08 20:20:44 +00:00
Amr El-Bakry
9726bc2029
Add log_level option to logger default formatter ( #1079 )
2019-12-27 17:02:08 +00:00
rick olson
f7f91b7077
raise_error: update docs to mention nil status code
2019-10-15 13:37:41 -06:00
risk danger olson
80ba52c721
update multipart docs to mention ParamPart class ( #1018 )
...
* update multipart docs to mention ParamsPart class
* Use newer "FilePart" name
* annotate example
* Consistently use single quotes
* remove last UploadIO reference
2019-09-20 05:08:56 -06:00
iMacTia
0ec66e8959
Fixes website navigation by adding trailing slashes to /index.md files.
...
See https://stackoverflow.com/questions/54727643/trailing-slashes-in-jekyll-github-pages-site-cause-404
2019-07-08 18:45:46 +01:00
rick olson
26c542d9e1
fix the order of the site nav
2019-07-02 07:43:06 -06:00
rick olson
08cd1b3be9
top links to middleware pages
2019-06-25 10:09:12 -06:00
rick olson
2f96d9b3a7
rename Introduction section => to Usage
2019-06-25 09:38:52 -06:00
rick olson
32be8ce245
redundant title
2019-06-13 09:32:14 -06:00
iMacTia
32eacfd4ee
Expands menu items.
2019-06-08 17:38:58 +01:00
iMacTia
8434b225a1
Fixes link in homepage.
2019-06-08 17:23:46 +01:00
iMacTia
79da580283
Improves middleware documentation adding a diagram.
2019-06-08 17:05:44 +01:00
iMacTia
069b422750
Reduces the amount of comments in code snippets.
2019-06-04 17:09:14 +01:00
iMacTia
4400acfd2b
Introduces documentation layout with bottom navigation links.
2019-06-02 15:09:35 +01:00
iMacTia
a2becaaf6a
Adds instrumentation middleware page.
2019-05-29 17:29:47 +01:00
iMacTia
1a2970eba0
Adds retry middleware page.
2019-05-29 17:00:15 +01:00
iMacTia
eb9660a818
Adds multipart and url_encoded middleware pages.
2019-05-28 16:26:16 +01:00
iMacTia
d5906c100a
Adds documentation for RaiseError middleware.
2019-05-26 15:32:53 +01:00
iMacTia
f97523dbf1
Removes last bits from README
2019-05-23 18:51:08 +01:00
iMacTia
3acd1c8d31
Moves README tutorials into separate pages.
2019-05-23 18:30:14 +01:00
iMacTia
66384d32dd
Merges #970 .
...
Adds table of content to homepage.
Adds details page for logger middleware.
2019-05-19 17:41:27 +01:00
rick olson
07788ab977
finish testing, and start listing docs in readme
2019-04-10 12:05:53 -06:00
rick olson
d9ec3a5f48
add new pages for testing, the env, and middleware usage
2019-04-10 11:36:59 -06:00