weex
weex copied to clipboard
[Android] WXStreamModule.fetch 优化建议
开发过程中有一个http请求是使用post方法,在iOS和H5下面是OK的,在android上面请求报错,经调查Andriod平台下http method只能是大写的。
以下两种建议二选一:
- 建议在Android中把客户端传过来的http method 做大写统一转换;
- Stream文档中明确提出必须要大些method;
好建议,欢迎你发个PR来实现这些优化 👍
@sospartan 好的,晚上补一下
@sospartan 已经提交PR