[racket] Using get-pure-port
> By the way, I found that adding a line to the definition of
> http-pipe-data in url-unit.rkt might resolve my problem either.
> But I hardly understand what I'm doing.
>
> (define (http-pipe-data chunked? ip op)
> (if chunked?
> (http-pipe-chunk ip op)
> (begin
> (copy-port ip op)
> (close-input-port ip) ;### I added this line ###
> (flush-output op)
> (close-output-port op))))
That looks right to me. Nice catch.
Send it as a patch to the Racket developers! https://github.com/plt/racket