'use strict';

class Response {
  constructor(statusCode, body, headers) {
    this.statusCode = statusCode;
    this.body = body;
    this.headers = headers;
  }

  toString() {
    return 'HTTP ' + this.statusCode + ' ' + this.body;
  }
}

module.exports = Response;
