W5500 - http server - 401 Unauthorized How?
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 - http server - 401 Unauthorized How?
by Philipp K ·
I think your question is more HTTP-related than WizNet related.
Have a look at this:
Now, I don’t know much about HTTP, but as I see it, the client will return a request with an Authorization header, which contains the credentials. You can evaluate them and respond with 200 if everything is okay, or 401 or any other status code that fits
RE: W5500 - http server - 401 Unauthorized How?
by Mxyxixptlick ·
You’re correct, Philipp_K. The HTTP specs say, “HTTP access authentication is explained in “HTTP Authentication: Basic and Digest Access Authentication” [43]”