[racket] Building a server that responds to POST/PUT/DELETE requests
This sounds strange to me. Request objects have a 'method' field that
you can look at it. The bindings are a promise so that non-form-data
POST content doesn't get erroneously parsed as bindings (unless you
force the promise). This is all in place so that you can implement
which ever methods you want without interference from the server's
default behavior. Can you post a small example that has the hanging
error?
Jay
On Sat, Sep 10, 2011 at 8:12 PM, Daniel MacDougall
<dmacdougall at gmail.com> wrote:
> Hi,
> I'm trying to build a web server that responds to [POST/PUT/DELETE]
> requests. If I use the built-in web server and POST to a url I have defined
> a dispatch function for, the request hangs indefinitely. The docs say that
> the web server tries to hide the details of the request method from you. Is
> there any way to work around this? Or am I limited to defining GET requests
> with continuations?
> Thanks,
> Daniel
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93