James ZHANG

Results 18 comments of James ZHANG

> Builder::normalize 方法的替换兼容性不够好 有没例子说明下不好在哪里?

> > > > ![image](https://user-images.githubusercontent.com/48888146/256961407-faefe3ee-0118-4e54-b657-55f1807b2f9b.png) ![image](https://user-images.githubusercontent.com/48888146/256961438-7921f887-4c27-46bb-b7a5-ade0fc0e5afc.png) Builder::normalize 方法把我的订单号替换了 我把截图圈起来的地方注释掉就可以正常查到订单结果了 参考: https://github.com/wechatpay-apiv3/wechatpay-php/issues/74#issuecomment-999283485 及README底部FAQ ### 为什么 URL 上的变量 OpenID,请求时被替换成小写了? 本 SDK 把 URL 中的大写视为包含连字号的 segment。请求时, camelCase 会替换为 camel-case。相关 issue 可参考 https://github.com/wechatpay-apiv3/wechatpay-php/issues/56 、...

> > > > > > > > > > > > > ![image](https://user-images.githubusercontent.com/48888146/256961407-faefe3ee-0118-4e54-b657-55f1807b2f9b.png) ![image](https://user-images.githubusercontent.com/48888146/256961438-7921f887-4c27-46bb-b7a5-ade0fc0e5afc.png) Builder::normalize 方法把我的订单号替换了 我把截图圈起来的地方注释掉就可以正常查到订单结果了 > > > > > > 参考: > > [#74 (comment)](https://github.com/wechatpay-apiv3/wechatpay-php/issues/74#issuecomment-999283485) >...

It looks like samilar to #4128. While there were a `className` , the better way shall be using `Token.attrJoin`. [L30](https://github.com/vuejs/vitepress/pull/3519/files#diff-caaa5859b69d40532a36e00cd217b000c7653293a148088a1dbc0275e8c56570R30) should be `token.attrJoin('class', classes)` somthing else.

近期俺也遇到了类似的问题,翻阅到了 https://github.com/golang/go/issues/22158 ,记得此issue,特来此备注下解题思路: 判断当前client使用的http(s)Agent,是否重用了socket(请翻golang文档应该有方法及描述),并且判断当前angent 抛的异常是不是 `ECONNRESET`,在此场景下,丢弃之前的socket并新建链接重试一下; 另外:API服务端响应其实是要显式返回`keep-alive: timeout=` 头,告知客户端,此`alive` socket 链接多久会被服务端咔嚓...

refer to [hessian.js#Java Generic Map](https://github.com/node-modules/hessian.js#java-generic-map) ## Map ```js util.inspect.defaultOptions.depth = 7 let i2oMap = java.Map(new Map([ [java.Integer(1), java('com.test.Object', { foo: 'bar' })] ])) console.info('%O', i2oMap) ``` ```js { '$class': 'java.util.Map',...

> Related: [uri-templates/uritemplate-test#41](https://github.com/uri-templates/uritemplate-test/pull/41). Copy that. I've also strange that the [RFC6570](https://datatracker.ietf.org/doc/html/rfc6570.html#section-3.2.1) wasn't any samples about double pct-encode. It sugguest that this library should be followed the [RFC3986](http://www.faqs.org/rfcs/rfc3986.html) _Implementations must not...