qt - what's the meaning of `QNetworkReply::ProtocolUnknownError`? -
i use object of qnetworkaccessmanager
post json data website.
when handle reply pointer of qnetworkreply
class in slot function, value of reply->error()
301
, value of 'reply->errorstring()' error downloading http://www.example.com/query - server replied: service unavailable
.
i check documentation of qnetworkreply
, description of error is:
qnetworkreply::protocolunknownerror|301|the network access api cannot honor request because protocol not known
and known error different form http status 301.
and have add http://
before url.
e..., can give info this?
Comments
Post a Comment