PUT method sends GET

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.
 
R

Robert Aldwinckle

<FORM action="/fileupload/test.txt" method="PUT">

Was that PUT a typo for POST? ;)

Which versions of urlmon.dll and wininet.dll do you have?

Run the following script fragment in your Address bar to double check
that those versions are what you should have.

javascript:navigator.appMinorVersion

(It's just a convenient way of capturing the Update Versions: list
from IE's Help, About display.)


HTH

Robert Aldwinckle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top