mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2026-10-23 13:24:11 +00:00
优化瓷器cookie有效性检查
This commit is contained in:
1 parent
0f1605ffca
commit
94948610e4
2 files changed
+163
-163
No files matched your search
@@ -157,7 +157,6 @@ class qBittorrent extends AbstractClient
|
||||
#$extra_options['skip_checking'] = 'true'; //跳校验
|
||||
// 关键 上传文件流 multipart/form-data【严格按照api文档编写】
|
||||
$post_data = $this->buildData($extra_options);
|
||||
#p($post_data);
|
||||
// 设置请求头
|
||||
$this->curl->setHeader('Content-Type', 'multipart/form-data; boundary='.$this->delimiter);
|
||||
$this->curl->setHeader('Content-Length', strlen($post_data));
|
||||
|
||||
Reference in new issue
Block a user