[racket] What is a comparable rkt code for curl command with HTTP Auth?

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Jan 8 22:18:29 EST 2012

7 hours ago, J G Cho wrote:
> As for inspecting what curl is sending out, I modified the code from
> More: Systems Programming with Racket tutorial a bit:
> 
> (define (handle in out)
>   (copy-port in out)
>   (display "bye" out))
> [...]
> 
> (I digress but the last line does not seem to get executed; "bye" is
> missing. )

`flush-output'

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.