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

From: J G Cho (gcho at fundingmatters.com)
Date: Sun Jan 8 23:42:07 EST 2012

Thanks for all your help.

Parse.com is now accepting POST from rkt!


I had to modify
regexp-replace #rx#"[\r\n]+$"
regexp-replace* #rx#"[\r\n]+"

There were '\r\n' in the middle as well as at the end.

On Sun, Jan 8, 2012 at 10:18 PM, Eli Barzilay <eli at barzilay.org> wrote:
> 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.