[Qt-interest] QNetworkReply::UnknownContentError on cgi

Josh jnfo-c at grauman.com
Sat Aug 28 01:38:50 CEST 2010


Sorry once again but I found my error... It had to do with entering the 
wrong code to the cgi... Thanks!

Josh

> Hello all,
>
> I'm using QNetworkAccessManager::get() to get a website (that is a cgi). I
> am getting a QNetworkReply::UnknownContentError error. I am able to hit
> the website via a browser and it's fine. I'm also able to hit another cgi
> that gives identical output (when run from the commandline) and that is
> fine. I looked at the Qt source code and this error is from any http error
> that is less than 500 and greater than 407, but don't want to have to
> recompile Qt to get the exact error code. Does anyone have any ideas?
>
> Here's the cgi:
> http://cbcfoothills.com/auth.cgi?code=1234
>
> It is supposed to output (which my program reads):
> Your unlock code is: FAILED
> Error 1. Contact support.
>
> Thanks!
>
> Josh
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list