HTTP following redirection

Share your advanced PureBasic knowledge/code with the community.
infratec
Always Here
Always Here
Posts: 7622
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

HTTP following redirection

Post by infratec »

Hi,

I wrote a HTTPGet2Mem() procedure in coding questions.
It downloads a file via web.
Later the problem comes up that the download was redirected (302)

I implemented this.

http://www.purebasic.fr/english/viewtop ... 54#p410554

Bernd