[mod_python] ValueError with Flash 8 FileReference.upload(url)

Graham Dumpleton grahamd at dscpl.com.au
Wed Apr 5 07:22:40 EDT 2006


Sorry, one more thing.

Can  you modify that handler you used to grab this and add:

   req.log_error("headers=%s" % `req.headers_in`)

Grab what it produces from the Apache error log file and post it here.

Need this to see what post is setting as boundary value in content type
header.

Thanks.

On 05/04/2006, at 9:28 PM, Harold J. Ship wrote:

> Ok, here's the output.
>
> ------------KM7GI3gL6cH2gL6gL6cH2gL6cH2KM7
>
> Content-Disposition: form-data; name="Filename"
>
>
>
> sample.txt
>
> ------------KM7GI3gL6cH2gL6gL6cH2gL6cH2KM7
>
> Content-Disposition: form-data; name="Filedata"; filename="sample.txt"
>
> Content-Type: application/octet-stream
>
>
>
> Start of Sample Text File Contents
>
> End of Sample Text File Contents
>
>
>
> ------------KM7GI3gL6cH2gL6gL6cH2gL6cH2KM7
>
> Content-Disposition: form-data; name="Upload"
>
> Submit Query
>
> ------------KM7GI3gL6cH2gL6gL6cH2gL6cH2KM7
>
>
>
> <post.dat>
> <sample.txt>



More information about the Mod_python mailing list