Re: MultiPartFormDataStream

Giganews Newsgroups
Subject: Re: MultiPartFormDataStream
Posted by:  Remy Lebeau \(Indy Team\) (re…@lebeausoftware.org)
Date: Tue, 9 Aug 2011

"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
news:74B6CFD457E7E340alexandrepires20…@yahoo.com.br...

> What can I do to indy strem to stay the same of browser stream ?

Why?  Other than the blank "name" field on the file attachment, and the
different "Content-Type" headers, there is no functional difference between
what you are sending and what the browser is sending.  The former should not
make any difference if the webserver is not using the "name" attribute to
begin with.  The latter can be adjusted by passing your string to the
AContentType parameter of AddFile() instead of calling
GetMimeTypeFromFile().

--
Remy Lebeau (Indy Team)

Replies

None

In response to

Re: MultiPartFormDataStream posted by Alexandre on Sun, 7 Aug 2011