I am currently porting over a website from php to python. The php web app is using extenionless urls by using
DefaultType application/x-httpd-php
Is there something like this that I can do for python? I have searched around through Google and tried adding mime types that would make sense for python but so far have not been successful. I would prefer to do it this way instead of using mod_rewrite if at all possible.
Thanks.
update: My server is currently set up to use wsgi however if my python scripts do not have an extension the browser will download them as oppose to being parsed by the server.