[plt-scheme] getting raw port of HTTP POST data in PLT Web Server in PLT 4.2.5?
With the standard requests, you can get the POST bytes with
request-post-data/raw. This means that the entire port has been read
and is in memory before you get a hold of it. You cannot get the port.
You could write a dispatcher that uses the connection object directly.
And you could make your own dispatching server with a different
read-request function, but that's more complicated.
Jay
On Wed, Mar 10, 2010 at 9:01 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> In 4.2.5, from a servlet, will I be able to get a raw port of the HTTP POST
> data, such that I can do my own MIME multipart decoding and streaming to
> disk?
>
> I would really-really like to have this.
>
> (I think I saw something on the email list recently that hinted I might be
> able to do this, but I can't find it at the moment.)
>
> Thanks.
>
> --
> http://www.neilvandyke.org/
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93