我知道要上传二进制文件,我们应该使用# custom filter
w=matrix(1,5,5)
gameOfLife <- function(x) {
f <- focal(x, w=w, pad=TRUE, padValue=0)
# window with with less than 5 cells die
x[f < 5] <- 0
# window with 5 or more cells live
x[f >= 5] <- 1
x
}
plot(gameOfLife(r))
而不是multipart
!但似乎AWS-S3 / Minio不支持它。 Minio返回以下错误:
Form-Urlencoded
我使用<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NotImplemented</Code><Message>A header you provided
implies functionality that is not implemented</Message><Key></Key>
<BucketName></BucketName>
<Resource>/chats/k0ydjPjA6yIBKEOdlU3HzPCmaJdQfxz83z0VyC1m</Resource>
<RequestId>3L137</RequestId><HostId>3L137</HostId></Error>
来创建这样的查询
retrofit 2
谁能帮助我吗?
或者我必须使用Form-Urlencoded上传文件?!