title: "405 method not allowed" in IIS7.5 for "PUT" method
body: <p>I use <code>WebClient</code> type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as below:</p>
  
  <pre class="lang-xml prettyprint-override"><code> &lt;add name="ResultHandler" path="*.cab" verb="PUT" type="FileUploadApplication.ResultHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" /&gt;
  </code></pre>
  
  <p>But I always get a "405 method not allowed" error. The response said the allowed methods are as below:</p>
  
  <pre><code>Headers = {Allow: GET, HEAD, OPTIONS, TRACE
  Content-Length: 1293
  Content-Type: text/html
  Date: Fri, 27 May 2011 02:08:18 GMT
  Server: Microsoft-IIS/7.5
  X-Powered-By: ASP.NET}
  </code></pre>
  
  <p>Even if I explicitly allow the PUT method in the IIS Request Filtering for my web application, the same error still occurs.</p>
  
  <p>I suspect this is a IIS related issue. I'm hoping someone could shed some light on this for me.</p>