[racket] multipart http requests

2014-12-30 Thread Spencer Florence
Does anyone know of a racket library that does multipart posts? Neither the net/http-client nor net/url libraries seem to have an abstraction for this built in. --spencer Racket Users list: http://lists.racket-lang.org/users

Re: [racket] multipart http requests

2014-12-30 Thread Tony Garnock-Jones
On 12/30/2014 10:22 AM, Spencer Florence wrote: Does anyone know of a racket library that does multipart posts? Neither the net/http-client nor net/url libraries seem to have an abstraction for this built in. Looks like http://docs.racket-lang.org/net/mime.html will parse a MIME message, but

Re: [racket] multipart http requests

2014-12-30 Thread Spencer Florence
Unfortunately what I'm looking something to handle automatically sending http post's of the type multipart/form-data. On Tue Dec 30 2014 at 12:31:11 PM Tony Garnock-Jones to...@ccs.neu.edu wrote: On 12/30/2014 10:22 AM, Spencer Florence wrote: Does anyone know of a racket library that does

Re: [racket] multipart http requests

2014-12-30 Thread Neil Van Dyke
Consider implementing it from scratch, in an application-specific way. Implementing the writing is pretty simple and straightforward (easier than the reading). Just be careful that your boundary string does not occur in any part (which is a weakness of the protocol, IMHO): you can either