What in an asp.net project controls the http verbs accepted RRS feed

  • Question

  • User-2045101248 posted

    I have one project where PUT and DELETE requests are being accepted and another very similar one where they are not, and do not hit Begin Request (the first in the pipeline)

    Tuesday, March 6, 2012 6:47 AM

All replies

  • User1779161005 posted

    I've come across a situation where the web server had WebDav installed and it was intercepting requests that were PUT or DELETE. Perhaps this is the issue?

    Tuesday, March 6, 2012 8:47 PM
  • User-2045101248 posted

    [This relates to Web API]

    I read this too. Actually the problem was narrowed down to the module or handler, that is used. If you setup a default project an entry is added to the config that says run all managed modules for all requests, brutal I know but without this PUT and DELETE are not accepted rather 404 is returned based on the testing done. I have further asked how to selectively include this. If you adding web api to an existing project you may for good reason not have this switch in, so one to watch.

    Wednesday, March 7, 2012 4:08 AM