We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0
401 Unauthorized
macOS
Thank you for maintaining tool :) I am reporting an issue because there is case where the response code did not give the intended result.
Describe the issue Response code is 0 when 401 Unauthorized with macOS.
Step to Reproduce Execute following code.
import puppy let response = get("https://httpbin.org/basic-auth/testuser/testpassword") echo response.code
Expected behavior The output result is 401
401
Actual behavior The output result is 0
Environment
Additional context The output of curl is as follows.
curl
% curl -I "https://httpbin.org/basic-auth/testuser/testpassword" HTTP/2 401 date: Sun, 17 Sep 2023 12:31:01 GMT content-length: 0 server: gunicorn/19.9.0 www-authenticate: Basic realm="Fake Realm" access-control-allow-origin: * access-control-allow-credentials: true
On Ubuntu 22.04, the same code returned 401, so it seems to be a macOS-only issue.
The text was updated successfully, but these errors were encountered:
JsonParsingError
vt-lookup
No branches or pull requests
Thank you for maintaining tool :)
I am reporting an issue because there is case where the response code did not give the intended result.
Describe the issue
Response code is
0
when401 Unauthorized
withmacOS
.Step to Reproduce
Execute following code.
Expected behavior
The output result is
401
Actual behavior
The output result is
0
Environment
Additional context
The output of
curl
is as follows.On Ubuntu 22.04, the same code returned
401
, so it seems to be a macOS-only issue.The text was updated successfully, but these errors were encountered: