Joe Zhou
Joe Zhou
Code: https://github.com/sutra/graphql-java-tools/commit/36025fa0e6ec994b0b87b9d3b1ee52ddc25a6aba
使用 `com.foxinmy.weixin4j.mp.WeixinComponentProxy.getPreComponentTicket(String)` 获取预授权码,获得的这个预授权码只能授权一次,但是它被缓存了,第二次授权就会报错,错误提示如下: 1. 对于已经授权的公众号错误提示为“授权失败 系统错误”; 2. 对于尚未授权的公众号错误提示为“预授权码已经被授权过,不能重复使用,请重新从源头页面进入授权页。”。 注意:如果是同一个公众号使用同一个预授权码进行多次授权不会报错;但是同一个预授权码被一个公众号授权使用了,再换个公众号试图授权就会有此 issue 所描述的错误。
Like this: ``` @POST @Path("/upload") @Consumes(MediaType.MULTIPART_FORM_DATA) void updateFile(File file) throws IOException; ``` ``` java.lang.IllegalArgumentException: Unsupported media type: multipart/form-data at si.mazi.rescu.RequestWriterResolver.resolveWriter(RequestWriterResolver.java:57) ``` See https://github.com/go-resty/resty#multipart-files-upload as well.
See: - META-INF/spring.factories - Spring Boot 2.6.15: [9.2. Locating Auto-configuration Candidates](https://docs.spring.io/spring-boot/docs/2.6.15/reference/html/features.html#features.developing-auto-configuration.locating-auto-configuration-candidates) - META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports - Spring Boot 2.7.0: [9.2. Locating Auto-configuration Candidates](https://docs.spring.io/spring-boot/docs/2.7.0/reference/html/features.html#features.developing-auto-configuration.locating-auto-configuration-candidates) - Spring Boot 2.7.17: [9.2. Locating Auto-configuration Candidates](https://docs.spring.io/spring-boot/docs/2.7.17/reference/html/features.html#features.developing-auto-configuration.locating-auto-configuration-candidates) -...
Fix for `org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected` in consuming chunked response.
`si.mazi.rescu.HttpTemplate.readInputStreamAsEncodedString(InputStream, HttpURLConnection)` cannot handle the size exceeds `java.lang.Integer.MAX_VALUE` ```Caused by: java.lang.OutOfMemoryError: Required array length 2147483638 + 13300 is too large at java.base/jdk.internal.util.ArraysSupport.hugeLength(ArraysSupport.java:752) ~[?:?] at java.base/jdk.internal.util.ArraysSupport.newLength(ArraysSupport.java:745) ~[?:?] at java.base/java.lang.AbstractStringBuilder.newCapacity(AbstractStringBuilder.java:263) ~[?:?] at...