Re: Write a module to overwrite HTTP methods handling

2018-09-19 Thread Danesh Daroui
Hi Nick, Thank you for your answer. I guess module for CGI would be a guideline for what I need to do. I just want to double check whether I am on the right track or not. So when a HTTP request with a query string is received, in my mind, the only way to handle it is the CGI which would in turn ru

Re: Write a module to overwrite HTTP methods handling

2018-09-19 Thread Nick Kew
> On 19 Sep 2018, at 13:57, Danesh Daroui wrote: > > Hi all, > > I am sorry if my question is a bit off! I am wondering whether it is > possible to write a server module that can handle different HTTP > methods in a customized way? Of course it's possible, and indeed common: see for example m

Write a module to overwrite HTTP methods handling

2018-09-19 Thread Danesh Daroui
Hi all, I am sorry if my question is a bit off! I am wondering whether it is possible to write a server module that can handle different HTTP methods in a customized way? I mean, if I want to perform some action when GET with some specific parameters comes in and/or PUT, POST or DELETE as well, ca