mirror of
				https://github.com/django/daphne.git
				synced 2025-10-31 07:47:25 +03:00 
			
		
		
		
	Correctly allow for more than one Set-Cookie header
This commit is contained in:
		
							parent
							
								
									ddcac026af
								
							
						
					
					
						commit
						89ebad14f9
					
				|  | @ -161,7 +161,7 @@ class WebRequest(http.Request): | |||
|                 # Shim code from old ASGI version, can be removed after a while | ||||
|                 if isinstance(header, six.text_type): | ||||
|                     header = header.encode("latin1") | ||||
|                 self.setHeader(header, value) | ||||
|                 self.responseHeaders.addRawHeader(header, value) | ||||
|             logger.debug("HTTP %s response started for %s", message['status'], self.reply_channel) | ||||
|         # Write out body | ||||
|         if "content" in message: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user