Re: Multipart form decode

2024-01-24 Thread David Bovill via use-livecode
Yes - I need a (standard) decoder. As far as I can tell we have a few
handlers in Livecode for encoding data for multipart form encoding - then
the Livecode server will do its magic and parse that making the rules
available - however there is no function to do the rfc7578
 decoding - at least that is
documented. We need this if we are coding our own server using the built in
sockets handling. I have a couple of hacks to extract uploaded images or
other files - but nothing robust or a general parser.

On Wed, 24 Jan 2024 at 02:51, Neville Smythe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> David: do you need a special decoder?
>
> I thought the multipart form handlers just broke up the sent data into
> user-defined small chunks, and the server was responsible for waiting for
> all the parts to be received and then re-assembling the data. From that
> point it is just a normal POST.
>
> Maybe I have misunderstood the question?
>
>
> Neville Smythe
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Multipart form decode

2024-01-23 Thread Neville Smythe via use-livecode
David: do you need a special decoder? 

I thought the multipart form handlers just broke up the sent data into 
user-defined small chunks, and the server was responsible for waiting for all 
the parts to be received and then re-assembling the data. From that point it is 
just a normal POST.

Maybe I have misunderstood the question?


Neville Smythe




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Multipart form decode

2024-01-23 Thread David Bovill via use-livecode
Hmm writing my own generic multipart form data parser seems quite a task
(and a security risk). Any suggestions?

On Mon, 22 Jan 2024 at 19:48, David Bovill  wrote:

> I see in the dictionary several functions related to multipart form
> encoding - but not decoding. Does anyone have a function that lets my
> decode form posts to the built in HTTP server.
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Multipart form decode

2024-01-22 Thread David Bovill via use-livecode
I see in the dictionary several functions related to multipart form
encoding - but not decoding. Does anyone have a function that lets my
decode form posts to the built in HTTP server.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode