On Mon, 22 Mar 2004 11:58:25 +0100 Philippe Marzouk <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 18, 2004 at 10:29:39AM -0800, Aaron Bannert wrote: [...] > > Could you provide an example xml input file that I could stick > > in the examples/ directory that shows usage of this new parameter? > > I have just commited a fix to manual. However, I do not have enough karma to put manual on flood page, so we need a config file to make people aware of new feature. > I attached a file with the way I use it. > > I use it to test the upload of a file, in this case a text file > containing 'toto' (a french friend of foobar) to an application > developped by the company I work for. There are a few params taken > from the fieldq in the web form and the included file. > Obviously you need support for uploading on the application running on > the web server. Philippe, Would you have something against a little simplification? Your example payload has many parts, where I think two parts would be sufficient. I would like to replace your payload with something like this: -----------------------------18042893838469308861681692777 Content-Disposition: form-data; foo=bar&bar=foo -----------------------------18042893838469308861681692777 Content-Disposition: form-data; name="myFile"; filename="MyFile.dat" Content-Type: application/octet-stram <!-- few bytes encoded as XML entities (&#xxx;) --> -----------------------------18042893838469308861681692777 ...as a typical example (few form data fields, and file contents). Also I would like to have payload with bare new lines (that is -- without entities and ). This would make such example more readable for people not using fancy editors to read XML (me ;). regards, -- Jacek Prucia