File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
http-easy-lib/http-easy/private Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#lang racket/base
2
2
3
- (require racket/contract/base
3
+ (require net/uri-codec
4
+ racket/contract/base
4
5
racket/format
5
6
racket/lazy-require
6
7
racket/match
10
11
(lazy-require
11
12
[file/gzip (gzip-through-ports)]
12
13
[file/md5 (md5)]
13
- [json (jsexpr? jsexpr->bytes)]
14
- [net/uri-codec (alist->form-urlencoded)])
14
+ [json (jsexpr? jsexpr->bytes)])
15
15
16
16
(provide
17
17
(contract-out
53
53
(provide
54
54
(contract-out
55
55
[part? (-> any/c boolean?)]
56
- [field-part (->* ( stringy/c (or/c stringy/c input-port?)) ( stringy/c) part:field?)]
57
- [file-part (->* ( stringy/c input-port?) ( stringy/c stringy/c) part:file?)]
56
+ [field-part (->* [ stringy/c (or/c stringy/c input-port?)] [ stringy/c] part:field?)]
57
+ [file-part (->* [ stringy/c input-port?] [ stringy/c stringy/c] part:file?)]
58
58
[multipart-payload
59
- (->* ()
60
- ( #:boundary (or/c bytes? string?))
59
+ (->* []
60
+ [ #:boundary (or/c bytes? string?)]
61
61
#:rest (non-empty-listof part?)
62
62
payload-procedure/c)]))
63
63
You can’t perform that action at this time.
0 commit comments