[fpc-pascal] httpdefs.pp multipart/form-data

ABorka fpc-devel at aborka.com
Sun Apr 12 23:56:26 CEST 2009

At the moment, it loads the whole content into a stream for processing 
line by line.

It is possible to create a patch to not do processing (exception, error 
message, trigger an event handler, etc.) if the ContentLength exceeds a 
specified size.

Leonardo M. Ramé wrote:
> Hi, I'm looking at httpdefs.pp file from FCL-Web and found that it handles multipart/form-data. I've been using a 3rd party parser for this kind of data, but it lacks of a good method of parsing large file uploads.
> My question is: ProcessMultipart method, handles the parsing in chunks of data, instead of loading the whole data into memory?.
> Thanks in advance,
> Leonardo.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list