weex icon indicating copy to clipboard operation
weex copied to clipboard

[Android] WXStreamModule.fetch 优化建议

Open lanceliu opened this issue 10 years ago • 3 comments

开发过程中有一个http请求是使用post方法,在iOS和H5下面是OK的,在android上面请求报错,经调查Andriod平台下http method只能是大写的。

以下两种建议二选一:

  1. 建议在Android中把客户端传过来的http method 做大写统一转换;
  2. Stream文档中明确提出必须要大些method;

lanceliu avatar Sep 18 '16 02:09 lanceliu

好建议,欢迎你发个PR来实现这些优化 👍

sospartan avatar Sep 18 '16 02:09 sospartan

@sospartan 好的,晚上补一下

lanceliu avatar Sep 18 '16 03:09 lanceliu

@sospartan 已经提交PR

lanceliu avatar Sep 18 '16 12:09 lanceliu