Results 1 to 4 of 4

Thread: QT4 HTTP Example and Redirecting

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QT4 HTTP Example and Redirecting

    Hi,
    I was trying the HTTP Example of qt4 documentation and noticed that it can't manage itself the status code 302, it can't perform a redirection.

    An example is this link:
    http://next.videogame.it/img/articol...e.cover.T5.jpg

    With the line below I get the new url:

    Qt Code:
    1. QString newLocation = responseHeader.value("Location");
    To copy to clipboard, switch view to plain text mode 

    But I don't know how to use it.

    Have anybody some tips for me?

    Thanks

    EDITED: HTTP Example
    Last edited by jiveaxe; 1st June 2008 at 17:03.
    Giuseppe CalÃ

Tags for this Thread

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.