mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	DASH: Don't set Range Header if no bytes range value
This caused a HTTP 501 Not Implemented on some CDNs.
This commit is contained in:
		
							parent
							
								
									630a9906ce
								
							
						
					
					
						commit
						e8b07bf03a
					
				@ -441,7 +441,7 @@ class DASH:
 | 
			
		||||
                    "url": url,
 | 
			
		||||
                    "headers": {
 | 
			
		||||
                        "Range": f"bytes={bytes_range}"
 | 
			
		||||
                    }
 | 
			
		||||
                    } if bytes_range else {}
 | 
			
		||||
                }
 | 
			
		||||
                for url, bytes_range in segments
 | 
			
		||||
            ],
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user