@@ -54,8 +54,8 @@ |
||
54 | 54 | $split = preg_split('/\R\R/', $source, 2); |
55 | 55 | |
56 | 56 | $http = $split[0]; |
57 | - if(isset($split[1]) && $payload = $split[1]) { |
|
58 | - if(preg_match('/Content-Type: ([^;\r\n]*)/', $http, $matches)) { |
|
57 | + if (isset($split[1]) && $payload = $split[1]) { |
|
58 | + if (preg_match('/Content-Type: ([^;\r\n]*)/', $http, $matches)) { |
|
59 | 59 | $mime = $matches[1]; |
60 | 60 | } else { |
61 | 61 | $mime = 'text/plain'; |