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

Popular posts from this blog

python 2.7 - Chat Solution for Mobile App -

jquery - Detect current Section with javascript -