Results 1 to 2 of 2

Thread: QHTTP get request

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QHTTP get request

    The problem certainly is not in Qt or handling the 302 response. As it is the server who sends weird answer, but what to expect from ASP.NET? Anyway, I've tried wireshark on that page and it appears that the website sent the same 302 response to the first Firefox request. So indeed it might depend on the optional request headers.

    To add these headers, you have to set up the QHttpRequestHeader object and pass it to QHttp::request(). I would start with adding Accept-Language and Accept-Charset.

  2. The following user says thank you to jacek for this useful post:

    s410i (5th September 2008)

Similar Threads

  1. Problem in using QHttp with QTimer
    By Ferdous in forum Newbie
    Replies: 2
    Last Post: 6th September 2008, 12:48
  2. QHttp delaying requests
    By etru1927 in forum Qt Programming
    Replies: 8
    Last Post: 29th April 2008, 21:52
  3. From QHttp to QHttp over SSL
    By Nyphel in forum Newbie
    Replies: 1
    Last Post: 3rd July 2007, 10:41
  4. Trouble sending request with QHttp
    By WinchellChung in forum Newbie
    Replies: 2
    Last Post: 27th June 2007, 18:50
  5. QHttp internal error
    By LubosD in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2006, 09:57

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.