Implements GET and HEAD methods #3