Hi.  Is there any way to suppress a particular header in the "file" section
of a LWP file upload.  Specifically, can I supress the "Content-Length: 102"
header from being sent in the below request.  I have tried setting it to
undef, with no luck.

You can see I am uploading a small text file named "sometext.txt"

##################################################
POST /upload.php HTTP/1.0
Host: 10.9.10.124
User-Agent: libwww-perl/5.43
Content-Type: multipart/form-data; boundary=000

--000
Content-Disposition: form-data; name="MAX_FILE_SIZE"


--000
Content-Disposition: form-data; name="fileField"; filename="sometext.txt"
Content-Length: 102
Content-Type: text/plain

FIRST LINE
SECOND LINE

Here is some more text.

This is the last line in sometext.txt

--000--
##################################################


Any information you might provide would be much appreciated.  I need this to
be portable so I cannot just change the module.  Thanks.

--Stew
libwww-perl-5.43-1 on RedHat Linux 6.1

Reply via email to