functions designed; GET, HEAD, PUT, DELETE, parseRequest