mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Fixed test for issue #747 to check for '' instead of 'text/plain'
This commit is contained in:
@@ -977,7 +977,7 @@ class RequestsTestSuite(TestSetup, TestBaseMixin, unittest.TestCase):
|
||||
data = "test string data"
|
||||
r = post(httpbin('post'), data=data)
|
||||
t = json.loads(r.text)
|
||||
self.assertEqual(t.get('headers').get('Content-Type'), 'text/plain')
|
||||
self.assertEqual(t.get('headers').get('Content-Type'), '')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user