Coder Social home page Coder Social logo

Comments (4)

wushuai1415 avatar wushuai1415 commented on June 12, 2024

抓包看下返回的header

from aliyun-oss-android-sdk.

ChenXingB avatar ChenXingB commented on June 12, 2024

"Transfer-Encoding" -> "chunked"
"x-oss-request-id" -> "62947359B25822353113B253"
"x-oss-server-time" -> "192"
"Server" -> "AliyunOSS"
"Connection" -> "keep-alive"
"x-oss-object-type" -> "Multipart"
"Last-Modified" -> "Tue, 24 May 2022 03:16:48 GMT"
"Date" -> "Mon, 30 May 2022 07:33:45 GMT"
"x-oss-storage-class" -> "Standard"
"x-oss-hash-crc64ecma" -> "15228249927083073430"
"Vary" -> "Origin"
"Expires" -> "60000"
"Content-Type" -> "text/plain"

from aliyun-oss-android-sdk.

wushuai1415 avatar wushuai1415 commented on June 12, 2024

应该是gzip压缩了,加个header试试
GetObjectRequest get = new GetObjectRequest(mBucket, object);
Map<String, String> header = new HashMap<String, String>();
header.put("Accept-Encoding", "identity");
get.setRequestHeaders(header);

from aliyun-oss-android-sdk.

ChenXingB avatar ChenXingB commented on June 12, 2024

加上以后就可以了,谢谢

from aliyun-oss-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.