CMPUT404-assignment-webserver
See requirements.org (plain-text) for a description of the project.
Make a simple webserver.
Generally everything is LICENSE'D under the Apache 2 license by Abram Hindle.
server.py contains contributions from:
- Abram Hindle
- Eddie Antonio Santos
- Jackson Z Chang
- Mandy Meindersma
- Justin Tan
But the server.py example is derived from the python documentation examples thus some of the code is Copyright © 2001-2013 Python Software Foundation; All Rights Reserved under the PSF license (GPL compatible) http://docs.python.org/2/library/socketserver.html
Spoke with Justin Mah (CCID: jmm) about a request header bug. Spoke with Ny Thi Tran (CCID: tntran1) about a test case (the security one in not-free-test.py).
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
- For status code information
https://docs.python.org/3/library/exceptions.html
- For exception handling
https://stackoverflow.com/a/39090882
- For parsing HTTP requests
- By User "Liam Kelly"
https://stackoverflow.com/a/21153368
- For serving/sending HTML
- By User "falsetru"
https://stackoverflow.com/a/46109539
- For serving/sending an HTML file
- By User "nalyd88"
https://stackoverflow.com/a/50607924
- For redirecting upon a 301 status code
- By User "Dominic Roy-Stang"