mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #31789 -- Added a new headers interface to HttpResponse.
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							71ae1ab012
						
					
				
				
					commit
					bcc2befd0e
				
			| @@ -56,4 +56,4 @@ class GenericViewsSitemapTests(SitemapTestsBase): | ||||
| </urlset> | ||||
| """ % (self.base_url, test_model.pk) | ||||
|         self.assertXMLEqual(response.content.decode(), expected_content) | ||||
|         self.assertEqual(response['Last-Modified'], 'Wed, 13 Mar 2013 10:00:00 GMT') | ||||
|         self.assertEqual(response.headers['Last-Modified'], 'Wed, 13 Mar 2013 10:00:00 GMT') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user