JetS3t (pronounced "jet-set") is a free, open-source Java toolkit and application suite for Amazon Simple Storage Service (Amazon S3), Amazon CloudFront content delivery network, and Google Storage for Developers.
Apache License 2.0
26
stars
13
forks
source link
method isXmlContentType not support content-type 'text/xml' #5
my version:0.9.4 (but as i see,0.9.6 still have same issue)
The method 'isXmlContentType' in org.jets3t.service.impl.rest.httpclient.RestStorageService used by listAllBucketsImpl,is only support 'application/xml'
while my s3service give back a 'text/xml' as content-type in response header;(and there still a legal response body)
application/xml is preferred over text/xml due to implementations normally treating text/xml as ascii or text/plain; it may be best to use the preferred mime type instead of text/xml.
my version:0.9.4 (but as i see,0.9.6 still have same issue)
The method 'isXmlContentType' in org.jets3t.service.impl.rest.httpclient.RestStorageService used by listAllBucketsImpl,is only support 'application/xml'
while my s3service give back a 'text/xml' as content-type in response header;(and there still a legal response body)
this cause a S3ServiceException;