It's there for a reason: https://github.com/unbit/uwsgi/pull/45
If you remove that than if I'll make "DELETE /path" request and /path is a file, than uWSGI will return that file instead of passing request to my app. Better make it configurable if it produces issues for some use cases. 2013/3/8 Roberto De Ioris <[email protected]> > > > * Roberto De Ioris <[email protected]> [2013-03-08 > > 19:08]: > >> > >>> Hi, > >>> > >>> it seems that the cgi-index/php-index from the CGI and PHP > >>> plugins do not work with HTTP POST, that is POST requests do not > >>> seem to be handled at all while the corresponding GET works fine. Is > >>> that a bug? > >>> -- > >>> Guido Berhoerster > >>> > >> > >> you mean that sending to the script directly works ? > > > > Yes: > > > > > > I think the problem is here: > > https://github.com/unbit/uwsgi/blob/master/core/protocol.c#L900 > > honestly i have no problems in removing that check, it would simplify the > system, and from a security point of view it changes nothing :) > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
