Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-945

HttpClient does not follow 302

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 4.0.1, 4.1 Alpha2
    • None
    • None
    • None
    • Win7, Netbeans 6.8, JDK6_20

    Description

      i have a server which gives me a authentication string in the response header. with that i can connect to my streamserver and download a video file eg. mp3/avi...

      my server sends:
      [X-Powered-By=PHP/5.2.11,
      Cache-Control=no-cache, no-store, must-revalidate,
      Pragma=no-cache,
      Expires=Sat, 26 Jul 2010 05:00:00 GMT,
      Content-Type=audio/mpeg,
      Location=http://mysub.myhost.com/3728/20713728.avi?__dd1__=1274891260,
      Content-Length=0,
      Connection=close,
      Date=Wed, 26 May 2010 16:17:40 GMT,
      Server=lighttpd/1.5.0]

      this is the 302 (says wireshark) but HttpClient will just not follow
      but it must because the headers etc. are used for authentication
      how can i achieve that?

      Attachments

        Activity

          People

            Unassigned Unassigned
            olze84 oliver z
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: