|
2 | 2 | /** |
3 | 3 | * $Id$ |
4 | 4 | * |
5 | | -* Copyright (c) 2011, Donovan Schönknecht. All rights reserved. |
| 5 | +* Copyright (c) 2013, Donovan Schönknecht. All rights reserved. |
6 | 6 | * |
7 | 7 | * Redistribution and use in source and binary forms, with or without |
8 | 8 | * modification, are permitted provided that the following conditions are met: |
@@ -804,7 +804,7 @@ public static function setBucketRedirect($bucket = NULL, $location = NULL) |
804 | 804 | $redirectAllRequestsTo->appendChild($hostName); |
805 | 805 | $websiteConfiguration->appendChild($redirectAllRequestsTo); |
806 | 806 | $dom->appendChild($websiteConfiguration); |
807 | | - $rest->setParameter('website', null); |
| 807 | + $rest->setParameter('website', null); |
808 | 808 | $rest->data = $dom->saveXML(); |
809 | 809 | $rest->size = strlen($rest->data); |
810 | 810 | $rest->setHeader('Content-Type', 'application/xml'); |
@@ -1566,7 +1566,7 @@ private static function __getCloudFrontInvalidationBatchXML($paths, $callerRefer |
1566 | 1566 | * [I12HK7MPO1UQDA] => Completed |
1567 | 1567 | * [I1IA7R6JKTC3L2] => Completed |
1568 | 1568 | * ) |
1569 | | - * |
| 1569 | + * |
1570 | 1570 | * @param string $distributionId Distribution ID from listDistributions() |
1571 | 1571 | * @return array |
1572 | 1572 | */ |
@@ -1780,8 +1780,8 @@ private static function __getMimeType(&$file) |
1780 | 1780 | 'zip' => 'application/zip', 'gz' => 'application/x-gzip', |
1781 | 1781 | 'tar' => 'application/x-tar', 'bz' => 'application/x-bzip', |
1782 | 1782 | 'bz2' => 'application/x-bzip2', 'rar' => 'application/x-rar-compressed', |
1783 | | - 'exe' => 'application/x-msdownload', 'msi' => 'application/x-msdownload', |
1784 | | - 'cab' => 'application/vnd.ms-cab-compressed', 'txt' => 'text/plain', |
| 1783 | + 'exe' => 'application/x-msdownload', 'msi' => 'application/x-msdownload', |
| 1784 | + 'cab' => 'application/vnd.ms-cab-compressed', 'txt' => 'text/plain', |
1785 | 1785 | 'asc' => 'text/plain', 'htm' => 'text/html', 'html' => 'text/html', |
1786 | 1786 | 'css' => 'text/css', 'js' => 'text/javascript', |
1787 | 1787 | 'xml' => 'text/xml', 'xsl' => 'application/xsl+xml', |
@@ -2106,7 +2106,7 @@ public function getResponse() |
2106 | 2106 | $this->resource |
2107 | 2107 | ); |
2108 | 2108 | } |
2109 | | - } |
| 2109 | + } |
2110 | 2110 |
|
2111 | 2111 | curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); |
2112 | 2112 | curl_setopt($curl, CURLOPT_HEADER, false); |
|
0 commit comments