[racket] What is a comparable rkt code for curl command with HTTP Auth?
Thanks for all your help.
Parse.com is now accepting POST from rkt!
FYI,
I had to modify
regexp-replace #rx#"[\r\n]+$"
to
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!