Handle request in actionfilter(WITHOUT action exist)

  • Thread starter Thread starter Pavlo Rishko2
  • Start date Start date
P

Pavlo Rishko2

Guest
Hello.

I need to handle HEAD request which sanded by Microsoft office excel, when user click on hyperlink.
I decided to use action filter to solve this problem, but I have requirement's that I can't add "[AcceptVerbs(HttpVerbs.Head | HttpVerbs.Get)]"(to handle HEAD and GET) requests and I need have only GET action(don't create HEAD action method). And just return status OK in to any Head request from "ms-office". But as I know It's impossible to handle HEAD request in action filter if you don't have appropriate HEAD action method.

Continue reading...
 
Back
Top