put请求服务端收到的参数为null
发布于 5 年前 作者 mingxiao 12157 次浏览 来自 官方Issues

设备信息如下

{“SDKVersion”:“2.9.3”,“albumAuthorized”:true,“batteryLevel”:100,“bluetoothEnabled”:false,“brand”:“iPhone”,“cameraAuthorized”:true,“deviceOrientation”:“portrait”,“errMsg”:“getSystemInfo:ok”,“fontSizeSetting”:16,“language”:“zh_CN”,“locationAuthorized”:true,“locationEnabled”:true,“microphoneAuthorized”:true,“model”:“iPhone XS MAX China-exclusive<iPhone 11,6>”,“notificationAlertAuthorized”:true,“notificationAuthorized”:true,“notificationBadgeAuthorized”:true,“notificationSoundAuthorized”:true,“pixelRatio”:3,“platform”:“ios”,“safeArea”:{“bottom”:896,“height”:852,“left”:0,“right”:414,“top”:44,“width”:414},“screenHeight”:896,“screenWidth”:414,“statusBarHeight”:44,“system”:“iOS 13.2.2”,“version”:“7.0.8”,“wifiEnabled”:false,“windowHeight”:808,“windowWidth”:414}

在这个版本的xs max手机上,发送put请求服务端收到的参数为null

2 回复

工具上可以吗?这边测试未复现

查看提交的 http 请求头是否有大小写?

web 服务器是 http/1 时:header 允许大小写

web 服务器是 http/2 时:header 只能小写

回到顶部