Results 1 to 2 of 2

Thread: QNetworkAccessManager double post

  1. #1
    Join Date
    Jul 2007
    Posts
    121
    Thanks
    38
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QNetworkAccessManager double post

    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.

  2. #2
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QNetworkAccessManager double post

    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

Similar Threads

  1. Double Click Capturing
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2011, 15:12
  2. Double Buffering for plot graphs
    By Tavit in forum Qt Programming
    Replies: 0
    Last Post: 20th March 2008, 14:10
  3. Simple ready-to-use widget to display an image
    By sylvaticus in forum Newbie
    Replies: 6
    Last Post: 29th December 2007, 12:22
  4. QGraphicsView wont show every item
    By abbapatris in forum Qt Programming
    Replies: 7
    Last Post: 5th September 2007, 12:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.