Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: CRLF in HTTP response

  1. #21
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: CRLF in HTTP response

    Yes, it does not work.
    Regards

  2. #22
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: CRLF in HTTP response

    Could you provide a sample of http headers for which the class fails? You can provide it as an attachment to your post.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #23
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: CRLF in HTTP response

    I deeply analyzed my problems, and it seems that it is not a problem of header parsing.
    Basically, my application makes use of the proxy I implemented. Well, if I open a particular website outisde
    the application, e.g. in IE and proxy set to mine, the website loads correctly.
    If I run an activex inside my app, which behaves like IE, the app freezes.
    To load the activex I use this very simple code (the app is based on MDI mainwindow):

    Qt Code:
    1. MdiBrowser *child = createMdiBrowser();
    2. child->setMode(0);
    3. child->setWindowTitle(id.name);
    4. child->setAddress(ip);
    5. child->show();
    To copy to clipboard, switch view to plain text mode 

    and the class MdiBrowser has
    Qt Code:
    1. MdiBrowser::MdiBrowser(QWidget *parent)
    2. : QWidget(parent)
    3. {
    4. ...
    5. wIE->setControl("{8856F961-340A-11D0-A96B-00C04FD705A2}");
    6. }
    7. void MdiBrowser::setAddress(const QHostAddress &a)
    8. {
    9. wIE->dynamicCall("Navigate(const QString&)",a);
    10. }
    To copy to clipboard, switch view to plain text mode 


    Added after 43 minutes:


    Maybe the problem is the mingw not compatible with QAxWidget.
    Read this for example
    https://bugreports.qt.nokia.com/browse/QTBUG-16565
    Last edited by giusepped; 22nd September 2011 at 07:24.

Similar Threads

  1. Replies: 9
    Last Post: 10th October 2012, 22:55
  2. How to parse xml from a http xml response?
    By dineshkumar in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2011, 07:28
  3. Reqest and Response in XML
    By srohit24 in forum Qt Programming
    Replies: 28
    Last Post: 4th July 2009, 07:57
  4. QHTTP does not see tunneled TCP HTTP OK authentication response
    By SailingDreams in forum Qt Programming
    Replies: 6
    Last Post: 23rd May 2009, 09:39

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
  •  
Qt is a trademark of The Qt Company.