On 7/14/21 10:34 AM, Georgios Petasis wrote:
Hi again,

To say the truth I also tried to provide my own version of responce, but
I am not sure if rivet calls my tcl code in the case of options. I still
see a different response, and not mine, is returned.

George



from src/mod_rivet_ng/mod_rivet_generator.c


    private->r->allowed |= (1 << M_GET);
    private->r->allowed |= (1 << M_POST);
    private->r->allowed |= (1 << M_PUT);
    private->r->allowed |= (1 << M_DELETE);
    if (private->r->method_number != M_GET   &&
        private->r->method_number != M_POST  &&
        private->r->method_number != M_PUT   &&
        private->r->method_number != M_DELETE) {

        retval = DECLINED;
        goto sendcleanup;

    }

so M_OPTIONS is not handled at all and there are many other methods
still to be implemented. Is OPTIONS supposed to be handled in a special way?

 -- Massimo

Firma il tuo 5x1000 all’Università di Parma, aiutaci a essere sempre più 
accoglienti e inclusivi verso le nostre studentesse e i nostri studenti - 
Indica 00308780345 nella tua denuncia dei redditi.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to