Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写应用程序,它应该内置简单的 http 服务器以进行远程控制访问。我正在使用 Qt 并希望为用户提供一种验证方式。 我找到了一个http 服务器实现(由 Stefan Frings 提供)。有人可以帮助解决这个问题吗?
自己找到了解决方案。顺便说一句,这很容易...... 我们只需要添加 WWW-Authenticate到标题中并在服务器端检查信用。
WWW-Authenticate