dawn

Results 2 issues of dawn

$ node wsbench ws:// localhost:8989/track /Users/dawn110110/code/wsbench/wsbench/lib/optparse.js:144 while(l-- > 0) if(LONG_SWITCH_RE(arr[l])) return true; ^ TypeError: object is not a function at contains_expr (/Users/dawn110110/code/wsbench/wsbench/lib/optparse.js:144:23) at build_rules (/Users/dawn110110/code/wsbench/wsbench/lib/optparse.js:77:13) at Object.OptionParser.parse (/Users/dawn110110/code/wsbench/wsbench/lib/optparse.js:224:21) at Object....

ut 里: ![image](https://user-images.githubusercontent.com/1113884/123785588-488d0080-d90b-11eb-8458-ced199613aab.png) requests/models.py 901 行,里我加了些输出: ![image](https://user-images.githubusercontent.com/1113884/123784897-7cb3f180-d90a-11eb-9c91-e10cb78fef83.png) 从第一个截图可以看出,head 请求返回的是 **空串** ,然后当 json 解析报错了? ``` Traceback (most recent call last): ........ File "/opt/python_root/ins/lib/python3.9/site-packages/ufile/filemanager.py", line 421, in head_file return _head_file(url, header) File...