Re: [racket] question about client side http post

2012-01-02 Thread J G Cho
Thank you very much. Excellent debugging! Your code/confirmation gave me the courage to look for other possibilities and resolved my issue. The real culprit turned out to be a very silly mistake on my part, which I am too ashamed to write here but it was not due to -> (which would've thrown an er

Re: [racket] question about client side http post

2012-01-02 Thread Jordan Schatz
It looks correct to me, except for port-string should be port->string (note the ->). The string that the server returns will depend on what the server responds, so your server code would need to echo the value or give some other confirmation, if that is how you are verifying that the data was sent

[racket] question about client side http post

2012-01-02 Thread J G Cho
I am trying to do client side HTTP POST using (require net/url) (post-pure-port URL post [header]) → input-port? URL : url? post : bytes? header : (listof string?) = null The following throws no exception but does not seem to do the intended job (I used Chrome to test the remote URL's get