title: Django Test Client: How to remove http headers
body: <p>I am trying to write a unit test for a piece of code that checks if a header is missing. How can I omit the http_referer header (or any header for that matter) from Django's test client?</p>
  
  <pre><code>def testCase(self):
      response = self.client.get('/some_url/')
      self.assertNotEqual(500, response.status_code)
  </code></pre>