Skip to content

Commit ca5d9d0

Browse files
authoredAug 15, 2022
Fix a couple broken or redirecting links (#112)
Pull request: #112
1 parent 7bc22c7 commit ca5d9d0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎readme.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ requests.post("https://httpbin.org/post", data = java.nio.file.Paths.get("thing.
134134
```
135135

136136
The `data` parameter also supports anything that implements the
137-
[Writable](https://github.com/lihaoyi/geny#writable) interface, such as
137+
[Writable](https://github.com/com-lihaoyi/geny#writable) interface, such as
138138
[ujson.Value](http://com-lihaoyi.github.io/upickle/#uJson)s,
139139
[uPickle](http://com-lihaoyi.github.io/upickle)'s `upickle.default.writable` values,
140140
or [Scalatags](http://com-lihaoyi.github.io/scalatags/)'s `Tag`s
@@ -184,8 +184,8 @@ Requests exposes the `requests.get.stream` (and equivalent
184184
perform streaming uploads/downloads without needing to load the entire
185185
request/response into memory. This is useful if you are upload/downloading large
186186
files or data blobs. `.stream` returns a
187-
[Readable](https://github.com/lihaoyi/geny#readable) value, that can be then
188-
passed to methods like [os.write](https://github.com/lihaoyi/os-lib#oswrite),
187+
[Readable](https://github.com/com-lihaoyi/geny#readable) value, that can be then
188+
passed to methods like [os.write](https://github.com/com-lihaoyi/os-lib#oswrite),
189189
`fastparse.parse` or `upickle.default.read` to handle the received data in a
190190
streaming fashion:
191191

@@ -215,7 +215,7 @@ too big to fit in memory, while still benefiting from most of Requests' friendly
215215

216216
Requests does not provide any built-in JSON support, but you can easily use a
217217
third-party JSON library to work with it. This example shows how to use
218-
[uJson](http://www.lihaoyi.com/upickle/) talk to a HTTP endpoint that requires a
218+
[uJson](https://com-lihaoyi.github.io/upickle/) talk to a HTTP endpoint that requires a
219219
JSON-formatted body, either using `upickle.default.stream`:
220220

221221
```scala
@@ -254,7 +254,7 @@ json.arr(0).obj.keys
254254

255255
While Requests-Scala doesn't come bundled with JSON functionality, it is trivial
256256
to use it together with any other 3rd party JSON library (I like
257-
[uJson](http://www.lihaoyi.com/upickle/)) So just pick whatever library you
257+
[uJson](https://github.com/com-lihaoyi/upickle)) So just pick whatever library you
258258
want.
259259

260260
## Multipart Uploads
@@ -532,7 +532,7 @@ r2.text
532532
There is a whole zoo of HTTP clients in the Scala ecosystem. Akka-http, Play-WS,
533533
STTP, HTTP4S, Scalaj-HTTP, RosHTTP, Dispatch. Nevertheless, none of them come
534534
close to the ease and weightlessness of using Kenneth Reitz's
535-
[Requests](http://docs.python-requests.org/) library: too many implicits,
535+
[Requests](https://requests.readthedocs.io/en/latest/) library: too many implicits,
536536
operators, builders, monads, and other things.
537537

538538
When I want to make a HTTP request, I do not want to know about
@@ -657,7 +657,7 @@ request is just a function call that takes parameters; that is all you need to
657657
know.
658658

659659
As it turns out, Kenneth Reitz's Requests is
660-
[not a lot of code](https://github.com/requests/requests/tree/master/requests).
660+
[not a lot of code](https://github.com/requests/requests/tree/main/requests).
661661
Most of the heavy lifting is done in other libraries, and his library is a just
662662
thin-shim that makes the API 10x better. It turns out on the JVM most of the
663663
heavy lifting is also done for you, by `java.net.HttpUrlConnection` in the

0 commit comments

Comments
 (0)
Please sign in to comment.