mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 11:24:51 +01:00 
			
		
		
		
	
							parent
							
								
									e5c736aab4
								
							
						
					
					
						commit
						888ac98007
					
				| @ -154,10 +154,10 @@ class Response extends Zend_Controller_Response_Http | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      * Get an array of every header value with a specified name |      * Get an array of all header values for the given name | ||||||
|      * |      * | ||||||
|      * @param  string $name |      * @param   string  $name       The name of the header | ||||||
|      * @param  bool $lastOnly  If this is true, the last value will be returned as a string. |      * @param   bool    $lastOnly   If this is true, the last value will be returned as a string | ||||||
|      * |      * | ||||||
|      * @return  null|array|string |      * @return  null|array|string | ||||||
|      */ |      */ | ||||||
| @ -300,7 +300,7 @@ class Response extends Zend_Controller_Response_Http | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (!$this->getHeader('Content-Type', true)) { |         if (! $this->getHeader('Content-Type', true)) { | ||||||
|             $this->setHeader('Content-Type', $this->getContentType()); |             $this->setHeader('Content-Type', $this->getContentType()); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user