At some point the FT changed how they had images in their emails. Things now 
disappear into a mass of redirects - no problem BUT I end up with a 500 error.

I use a loop with HTTPSend..HTTPMethod('GET', url);

Starting with

http://li.ft.com/imp?s=178326&sz=1x1&li=in-todays-ft&e=n...@nlh.co.uk&p=8430143520236

and using the location returned in the header I get the following trail



301 = Moved Permanently
http://p.liadm.com/imp?s=178326&sz=1x1&li=in-todays-ft&m=7d018df1bddd1b258eeb9b800a3b2ab8&sh=1d78dc7106fea30f18ae253a76160190540a2d61&sh2=b8caeea3d255bccc1fe227f851ac177fd1df9734eb589f48d4abf828f061ee99&p=8430143520236&dom=nlh.co.uk
302 = Moved Temporarily
http://p.liadm.com/ul_cb/imp?s=178326&sz=1x1&li=in-todays-ft&m=7d018df1bddd1b258eeb9b800a3b2ab8&sh=1d78dc7106fea30f18ae253a76160190540a2d61&sh2=b8caeea3d255bccc1fe227f851ac177fd1df9734eb589f48d4abf828f061ee99&p=8430143520236&dom=nlh.co.uk
302 = Moved Temporarily
http://x.bidswitch.net/sync?ssp=liveintent&li_uuid=${USER_ID}&bidder_id=5298&callback_url=http%3A%2F%2Fp.liadm.com%2Fmatch_g%3Fbidder_id%3D5298%26muuid%3D${MUUID}&x=RTJ5Y19QIGA1AiEeRgtrWlkzUFVhVV0JXhtBN31UJWo=
302 = Moved Temporarily
http://x.bidswitch.net/ul_cb/sync?ssp=liveintent&li_uuid=${USER_ID}&bidder_id=5298&callback_url=http%3A%2F%2Fp.liadm.com%2Fmatch_g%3Fbidder_id%3D5298%26muuid%3D${MUUID}&x=RTJ5Y19QIGA1AiEeRgtrWlkzUFVhVV0JXhtBN31UJWo=
302 = Moved Temporarily
//p.liadm.com/match_g?bidder_id=5298&bidder_uuid=
500 =


If I prepend http: to the last location things do continue and I eventually 
reach the result

Is there a better way of handling redirects, and especially where the url is 
malformed?


Roy Lambert

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to