M
Mike Reed
I'm trying to upload files to an IIS6 server from an IE6
browser using the following HTML code:
==============================================
<HTML>
<HEAD>
<TITLE>PUT method test</TITLE>
</HEAD>
<BODY>
<FORM action="/fileupload/test.txt" method="PUT">
<INPUT type="file" size="75"><BR>
<INPUT type="submit">
</FORM>
</BODY>
==============================================
Yet the browser sends an empty GET request instead:
==============================================
GET /puttest.htm HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, application/x-shockwave-
flash, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Fri, 05 Mar 2004 15:38:30 GMT
If-None-Match: "796fde8c72c41:fa6"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Host: webserver.test.com
Connection: Keep-Alive
==============================================
Any ideas?
Thanks in advance.
browser using the following HTML code:
==============================================
<HTML>
<HEAD>
<TITLE>PUT method test</TITLE>
</HEAD>
<BODY>
<FORM action="/fileupload/test.txt" method="PUT">
<INPUT type="file" size="75"><BR>
<INPUT type="submit">
</FORM>
</BODY>
==============================================
Yet the browser sends an empty GET request instead:
==============================================
GET /puttest.htm HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, application/x-shockwave-
flash, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Fri, 05 Mar 2004 15:38:30 GMT
If-None-Match: "796fde8c72c41:fa6"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Host: webserver.test.com
Connection: Keep-Alive
==============================================
Any ideas?
Thanks in advance.