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
- Alanna
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
Code references:
-
Re: Determining file size in bytes By rajasaur (https://stackoverflow.com/users/56465/rajasaur) on stackoverflow https://stackoverflow.com/questions/6591931/getting-file-size-in-python License: CC-BY-SA 3.0
-
Re: Determining date and time in Date header format: By Vijay Dev (https://stackoverflow.com/users/27474/vijay-dev) on stackoverflow: https://stackoverflow.com/questions/415511/how-to-get-current-time-in-python License: CC-BY-SA 3.0
-
Re: Limiting path traversal By OpenStack Vulnerability Management Team on openstack: https://security.openstack.org/guidelines/dg_using-file-paths.html License: CC BY 3.0
Python Library references:
-
Re: os.path library: Author: Python Software Foundation Visit date: Jan 17th, 2017 Title: 10.1. os.path — Common pathname manipulations URL: https://docs.python.org/2/library/os.path.html
-
Re: mimetypes library: Author: Python Software Foundation Visit date: January 17th, 2017 Title: 18.7. mimetypes — Map filenames to MIME types URL: https://docs.python.org/2/library/mimetypes.html
Theory (non-coding) references:
-
Re: HTTP response structure/format: Author: James Marsall Visit date: Jan 17th 2017 Title: HTTP Made Really Easy URL:http://www.jmarshall.com/easy/http/
-
Re: Mimetypes: Authors: strattadb (https://developer.mozilla.org/en-US/profiles/strattadb), bunnybooboo (https://developer.mozilla.org/en-US/profiles/bunnybooboo), DJ-Leith (https://developer.mozilla.org/en-US/profiles/DJ-Leith), teoli (https://developer.mozilla.org/en-US/profiles/teoli), fscholz (https://developer.mozilla.org/en-US/profiles/fscholz) Visit date: Jan 17th 2017 Title: Mimetypes URL: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types