PDA

View Full Version : QNetworkAccessManager double post



QPlace
8th November 2008, 15:36
I am using QT4.5 preview under Windows.

I have following question:

HTTP sniffer shows double "POST" messages when I am calling "post" method on an instance of QNetworkAccessManager class. They differ only in "Content" part, where the first message, being the one that I am actually sending, having my contents and the second one has no contents, only header.

I am sure that I am calling "post" only once (confirmed by debug output).

When I do "post" from a web browser the sniffer shows only one POST HTTP message.

I will appreciate any comments/suggestions.

rbp
11th February 2009, 04:44
hello,

Did you figure out the reason for the double POST request?
I am also experiencing double POST requests with Qt 4.4.2 on Windows. GET requests work fine though.

Richard