File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Because of some technicalities, multipart form data is not
43
43
represented as a good old content type like `JSON` in servant,
44
44
that one could use with `ReqBody`, but instead is its own
45
45
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).
47
47
48
48
This combinator takes two parameters. The first one is the
49
49
" 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
58
58
trivial " decoding" to `MultipartData` itself, and simply
59
59
will get our hands on the raw input. If you want to use
60
60
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).
62
62
63
63
Our only request handler has type `MultipartData Mem -> Handler Integer`.
64
64
All it does is list the textual and file inputs that
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ decomposed into two steps.
383
383
384
384
The first step is to provide a proper
385
385
`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))
387
387
representation for `JSON`, or for your own content-types. If you look at the
388
388
haddocks from this link, you can see that we just have to specify
389
389
`application/json` using the appropriate functions. In our case, we can just
You can’t perform that action at this time.
0 commit comments