[Qt-interest] HTTPS POST request
Yanhao Zhu
yanhaozhu at gmail.com
Thu Jul 9 20:14:00 CEST 2009
Hi,
Which version of openssl are you using?
I had similar problem before and my problem was related with some
changes made in recent version of OpenSSL. You can take a look at this
report:
http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=247348
When I changed the protocol to be AnyProtocol and it fixed my problem.
Hope this helps.
Best wishes,
Yanhao
On Thu, Jul 9, 2009 at 10:36 AM, Nikolay Mikheev<el.vooft at gmail.com> wrote:
> Good day! :)
>
> I have to make data exchanging between remote server and my app. So,
> my choice was https connection and POST method for transferring. But i
> have a lot of troubles with this.
> In Assistant is written, that it is better to use
> QNetworkAccessManager instead of QHttp.
>
> First of all, it seems, that just to send data with POST method is not
> so easy :)
> I found already written very useful class FormPost
> http://www.tuckdesign.com/sources/Qt which with some changes may be
> used in my app.
>
> Secondly, i have self-signed cert and so QNetworkAccessManager emits
> signal sslErrors which have very fuzzy description. I connected it to
> slot where reply->ignoreSslErrors() calls, but there's no reply still.
>
> I'm not sure i make it correct. Here's my code:
> http://paste.org.ru/?k81vhf http://paste.org.ru/?7s1gfo
>
> How it is possible to solve my troubles or is there any example with
> using QNetworkAccessManager and https for data transferring?
>
> --
> Best regards, Nikolay Mikheev
> _______________________________________________
> 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