Closed newlightdd closed 6 years ago
计算签名里面的一句中 srcStr = method.upper() + requestHost + requestUri + '?' + "&".join(k.replace("_",".") + "=" + str(list[k]) for k in sorted(list.keys()))
为什么要把"_" 替换成 "."?
php框架历史遗留问题,有兴趣可以参见https://stackoverflow.com/questions/3742653/why-strings-in-post-can-not-contain-a-dot
计算签名里面的一句中 srcStr = method.upper() + requestHost + requestUri + '?' + "&".join(k.replace("_",".") + "=" + str(list[k]) for k in sorted(list.keys()))
为什么要把"_" 替换成 "."?