Updates server code to properly respond to HTTP requests fro .html,.jpeg,.gif