Skip to content

Commit 685885e

Browse files
authored
Don't hardcode package versions in cookbook / tutorial links (#1815)
1 parent 034fe05 commit 685885e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/cookbook/file-upload/FileUpload.lhs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Because of some technicalities, multipart form data is not
4343
represented as a good old content type like `JSON` in servant,
4444
that one could use with `ReqBody`, but instead is its own
4545
dedicated `ReqBody`-like combinator named
46-
[`MultiPartForm`](https://hackage.haskell.org/package/servant-multipart-0.11/docs/Servant-Multipart.html#t:MultipartForm).
46+
[`MultiPartForm`](https://hackage.haskell.org/package/servant-multipart/docs/Servant-Multipart.html#t:MultipartForm).
4747
4848
This combinator takes two parameters. The first one is the
4949
"backend" to use. Currently, you only have the choice between
@@ -58,7 +58,7 @@ allows you to specify how to decode multipart form data from
5858
trivial "decoding" to `MultipartData` itself, and simply
5959
will get our hands on the raw input. If you want to use
6060
a type of yours, see the documentation for
61-
[`FromMultipart`](https://hackage.haskell.org/package/servant-multipart-0.11/docs/Servant-Multipart.html#t:FromMultipart).
61+
[`FromMultipart`](https://hackage.haskell.org/package/servant-multipart/docs/Servant-Multipart.html#t:FromMultipart).
6262

6363
Our only request handler has type `MultipartData Mem -> Handler Integer`.
6464
All it does is list the textual and file inputs that

doc/tutorial/Server.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ decomposed into two steps.
383383
384384
The first step is to provide a proper
385385
`MediaType` (from
386-
[**http-media**](https://hackage.haskell.org/package/http-media-0.6.2/docs/Network-HTTP-Media.html))
386+
[**http-media**](https://hackage.haskell.org/package/http-media/docs/Network-HTTP-Media.html))
387387
representation for `JSON`, or for your own content-types. If you look at the
388388
haddocks from this link, you can see that we just have to specify
389389
`application/json` using the appropriate functions. In our case, we can just

0 commit comments

Comments
 (0)