mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 10:37:24 -04:00 
			
		
		
		
	remove minor ugly parenthesis
This commit is contained in:
		
							parent
							
								
									ab5087e215
								
							
						
					
					
						commit
						8631f33940
					
				| @ -16,7 +16,7 @@ type LengthFilter int64 | ||||
| // ShouldCompress returns if content length is greater than or | ||||
| // equals to minimum length. | ||||
| func (l LengthFilter) ShouldCompress(w http.ResponseWriter) bool { | ||||
| 	contentLength := (w.Header().Get("Content-Length")) | ||||
| 	contentLength := w.Header().Get("Content-Length") | ||||
| 	length, err := strconv.ParseInt(contentLength, 10, 64) | ||||
| 	if err != nil || length == 0 { | ||||
| 		return false | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user