Skip to content

[Bug]: network.httpGet 请求响应码每次都不是200,每次都是400 #269

Closed
@zmsgsb

Description

@zmsgsb

Describe the bug

network.httpGet 请求响应码每次都不是200,每次都是400
同样的插件,同样的代码,但在BDS1.21.50 LL1.0.1 LSE0.9.7中正常,每次都是200

To Reproduce

BDS1.21.60
LL1.1.1
LSE 0.10.6

mc.listen("onJoin", (pl) => {
    network.httpGet("https://mesh.if.iqiyi.com/aid/ip/info?version=1.1.1&ip=" + pl.getDevice().ip.split(":")[0], (status, result) => {
        logger.warn("network.httpGet 测试:", status);
    })
})

Expected behavior

响应码正常返回200

Screenshots

No response

Platform

Win10

BDS Version

1.21.60

LeviLamina Version

1.1.1

LegacyScriptEngine Version

0.10.6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions