httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Prucia <>
Subject Re: [PATCH] flood and content-type setting
Date Thu, 15 Apr 2004 10:22:03 GMT
On Mon, 22 Mar 2004 11:58:25 +0100
Philippe Marzouk <> 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.


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:

Content-Disposition: form-data;

Content-Disposition: form-data; name="myFile"; filename="MyFile.dat"
Content-Type: application/octet-stram

<!-- few bytes encoded as XML entities (&#xxx;) -->
-----------------------------18042893838469308861681692777 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 &#10; and &#13;). This would make such example more readable
for people not using fancy editors to read XML (me ;).

Jacek Prucia

View raw message