Skip to content

Commit 0b2d5ed

Browse files
committed
payload: fix some paren shapes
1 parent 3da8280 commit 0b2d5ed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

http-easy-lib/http-easy/private/payload.rkt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#lang racket/base
22

3-
(require racket/contract/base
3+
(require net/uri-codec
4+
racket/contract/base
45
racket/format
56
racket/lazy-require
67
racket/match
@@ -10,8 +11,7 @@
1011
(lazy-require
1112
[file/gzip (gzip-through-ports)]
1213
[file/md5 (md5)]
13-
[json (jsexpr? jsexpr->bytes)]
14-
[net/uri-codec (alist->form-urlencoded)])
14+
[json (jsexpr? jsexpr->bytes)])
1515

1616
(provide
1717
(contract-out
@@ -53,11 +53,11 @@
5353
(provide
5454
(contract-out
5555
[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?)]
5858
[multipart-payload
59-
(->* ()
60-
(#:boundary (or/c bytes? string?))
59+
(->* []
60+
[#:boundary (or/c bytes? string?)]
6161
#:rest (non-empty-listof part?)
6262
payload-procedure/c)]))
6363

0 commit comments

Comments
 (0)