swift-server / async-http-client

HTTP client library built on SwiftNIO
https://swiftpackageindex.com/swift-server/async-http-client/main/documentation/asynchttpclient
Apache License 2.0
918 stars 118 forks source link

Different results for the same request on mac OS and Linux #733

Open RANSAA opened 7 months ago

RANSAA commented 7 months ago

As the question I directly use the code in the example (async/await way) to make a network request, and get the data normally on liunx, but when running on macOS the response body is empty, status: 400 Bad Request, may I ask how to solve this problem?

Lukasa commented 7 months ago

Can you provide some more details? Do you have any example code we might be able to see, or even better run?