Initially taken by Niko Matsakis and lightly edited by Ryan Levick
- Introductions
- Cargo inside large build systems
- FFI
- Foundations and financial support
| #!/usr/bin/env python | |
| # Attribution: https://stackoverflow.com/questions/21956683/enable-access-control-on-simple-http-server | |
| try: | |
| # Python 3 | |
| from http.server import HTTPServer, SimpleHTTPRequestHandler, test as test_orig | |
| import sys | |
| def test (*args): | |
| test_orig(*args, port=int(sys.argv[1]) if len(sys.argv) > 1 else 8000) |