> 2013/3/10 Roberto De Ioris <[email protected]> > >> The question is: are there any case in which serving a static file with >> "POST" (for example) is needed ? If yes, the --static-allowed-method is >> a >> need > > > AFAIK Facebook apps seems to be using POST requests to fetch data from > remote (non facebook) servers. I'm running few of those made as static > html > and I was requested to add POST->GET rules on varnish, so that dev didn't > need to setup any python/ruby/php apps to serve those. I think that those > POST requests are always made to send some user related data, but some > apps > just don't care about that and they don't use it, so they are fine with > simple GET. > tl;dr there is a use case for some people - not very big, not very > important > >
Ok, for very specific needs we can use internal routing (it is already able to serve static files) The check-static family supports only GET and HEAD I have just pushed the patch -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
