title: With Supertest, can I create an alternative request with some headers set by default?
body: <p>I am using <a href="https://github.com/visionmedia/supertest" rel="noreferrer">Supertest</a> with Mocha to test an API developed with Node JS.</p>
  
  <p>And I want to do a lót of different tests on the API. With almost all of them I have to set Authorization and Content-Type headers again (because the API requires them for this test). </p>
  
  <pre><code>it('Creation without an email address should fail and return error code 50040', function(done) {
    request
      .post('/mpl/entities')
      .set('Authorization', 'Token 1234567890') //set header for this test
      .set('Content-Type',  'application/json') //set header for this test
      .send({
        firstname: "test"
      })
      .expect('Content-Type', /json/)
      .expect(500)
      .expect(anErrorCode('50040'))
      .end(done);
  });
  
  it('Creation with a duplicate email address should fail and return error code 50086', function(done) {
    request
      .post('/mpl/entities')
      .set('Authorization', 'Token 1234567890') //&lt;-- again
      .set('Content-Type',  'application/json') //&lt;-- again, I'm getting tired
      .send({
        email: "a@b.nl"
      })
      .expect('Content-Type', /json/)
      .expect(500)
      .expect(anErrorCode('50086'))
      .end(done);
  });
  </code></pre>
  
  <p>Can I create an alternative request with those headers set by default?</p>