net/http-client: adjust data-procedure/c contract

Promise more (a `void?` result) and requies less (`any` instead of `any/c`).

original commit: 4aa61744c6
This commit is contained in:
Matthew Flatt 2014-07-11 06:21:33 +01:00
parent cb907d7eec
commit 8191f8b7ad

View File

@ -155,7 +155,7 @@ response, which is why there is no @racket[#:closed?] argument like
Contract for a procedure that accepts a procedure of one
argument, which is a string or byte string:
@racket[(-> (-> (or/c bytes? string?) any/c) any/c)].
@racket[(-> (-> (or/c bytes? string?) void?) any)].
}