Using appropriate HTTPResponse subclass