From: Todd O'Bryan (toddobryan at gmail.com) Date: Mon May 3 21:57:47 EDT 2010 |
|
Is there a bytes->request function hiding somewhere that could be used for testing? The only thing I can find to create a request requires a connection. I'd like to do something like: (define req (bytes->request #"GET /path/to/something HTTP/1.1\r\nHost: www.foo.com\r\nCookie: abc=123; xyz=hello\r\n")) and have it produce a request structure. (I'd be willing to pass in more stuff if I had to.) Todd
Posted on the users mailing list. |
|