Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus-api
This commit is contained in:
		
						commit
						aba0ec3458
					
				@ -98,7 +98,7 @@ abstract class CurlTransport {
 | 
			
		||||
                    $response = $response->withHeader($key, $value);
 | 
			
		||||
                }
 | 
			
		||||
                elseif ( strtoupper(substr($headerLine, 0, 4)) === 'HTTP' ) {
 | 
			
		||||
                    list(,$code, $status) = explode(' ', trim($headerLine), 3);
 | 
			
		||||
                    list(,$code, $status) = explode(' ', trim($headerLine), 3) + [ null, null, null ];
 | 
			
		||||
 | 
			
		||||
                    $response = $response->withStatus($code, $status);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user