New issue
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
UnknownContentError in Update response #6
Comments
I think that the best thing to do would be to expose an API that allows programmers to set an user-agent string before making a request. If no user-agent string is provided, QSimpleUpdater could fall-back to some default user-agent string. I'll take a look at this issue later this evening. Thanks for the report! |
Any update ? |
@prabindh Sorry for the late reply, I have added a simple API that allows you to set a custom user-agent string. By default, the user-agent string will be |
That works, thanks! |
With Qt5.7 and Win10, QNetworkRequest(url()) returns UnknownContentError. To ensure response is correctly received, need to set user-agent string before making the request. Would be good to expose an API for it, or use some default string (like Mozilla/*).
The text was updated successfully, but these errors were encountered: