RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultipartContentParser Class

TMultipartContentParser extracts named value strings and uploaded files from an HTTP request sent by a multipart form.

Pascal
TMultipartContentParser = class(TAbstractContentParser);
C++
class TMultipartContentParser : public TAbstractContentParser;

ReqMulti

Web request objects use TMultipartContentParser object to parse the content of an HTTP request message from a multipart form when that request may contain uploaded files. The Web request uses this content parser to assign values for its ContentFields and Files properties. 

TMultipartContentParser is only used when the current HTTP request object has a content type of 'multipart/form-data'. Multipart forms built using a WebSnap application automatically use this content type. 

To allow your WebSnap application to use TMultipartContentParser in Delphi, add the ReqMulti unit to the end of your project uses clause. In C++, include ReqMulti.hpp in the header of your project source file. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!