mirror of
				https://github.com/django/daphne.git
				synced 2025-10-31 15:57:25 +03:00 
			
		
		
		
	
							parent
							
								
									05bd4ac258
								
							
						
					
					
						commit
						d24fd06460
					
				|  | @ -57,7 +57,7 @@ Daphne 1.1 and above supports terminating HTTP/2 connections natively. You'll | ||||||
| need to do a couple of things to get it working, though. First, you need to | need to do a couple of things to get it working, though. First, you need to | ||||||
| make sure you install the Twisted ``http2`` and ``tls`` extras:: | make sure you install the Twisted ``http2`` and ``tls`` extras:: | ||||||
| 
 | 
 | ||||||
|     pip install -U Twisted[tls,http2] |     pip install -U 'Twisted[tls,http2]' | ||||||
| 
 | 
 | ||||||
| Next, because all current browsers only support HTTP/2 when using TLS, you will | Next, because all current browsers only support HTTP/2 when using TLS, you will | ||||||
| need to start Daphne with TLS turned on, which can be done using the Twisted endpoint syntax:: | need to start Daphne with TLS turned on, which can be done using the Twisted endpoint syntax:: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user