Skip to content

Commit 009bd46

Browse files
author
彧贤
committed
version
1 parent c7a972f commit 009bd46

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.aliyun.oss</groupId>
1313
<artifactId>aliyun-sdk-oss</artifactId>
14-
<version>3.3.0-SNAPSHOT</version>
14+
<version>3.4.0</version>
1515
<packaging>jar</packaging>
1616
<name>Aliyun OSS SDK for Java</name>
1717
<description>The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service</description>

src/main/java/com/aliyun/oss/internal/Mimetypes.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ public void loadMimetypes(InputStream is) throws IOException {
9090
}
9191
}
9292
}
93-
94-
extensionToMimetypeMap.put("csv", "text/csv");
9593
}
9694

9795
public String getMimetype(String fileName) {

src/main/resources/mime.types

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,6 @@ xml application/xml
225225
xsl application/xml
226226
xslt application/xslt+xml
227227
xul application/vnd.mozilla.xul+xml
228-
webp image/webp
228+
webp image/webp
229+
csv text/csv
230+
json application/json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.3.0
1+
version=3.4.0

src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class VersionUtilTest {
2828
@Test
2929
public void testGetDefaultUserAgent() {
3030
String userAgent = VersionInfoUtils.getDefaultUserAgent();
31-
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.3.0("));
31+
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.4.0("));
3232
assertEquals(userAgent.split("/").length, 4);
3333
assertEquals(userAgent.split(";").length, 2);
3434
assertEquals(userAgent.split("\\(").length, 2);

0 commit comments

Comments
 (0)