I'm changing from HTMLViewer to the HCL components 
(http://www.delphihtmlcomponents.com). One problem is that their equivalent of 
OnGetImage sends a decoded image url

eg

www.b2bemailer.com/email/admin/resources/email_templates/Business/Generic 5 (1 
Column)/bkg_header_top.gif



Unfortunately THTTPSend.HTTPMethod('GET', imageURL) returns 404 with the 
decoded version whereas the encoded version

http://www.b2bemailer.com/email/admin/resources/email_templates/Business/Generic%205%20%281%20Column%29/bkg_header_top.gif

works properly and gives 200.

I can easily encode the url but if its already encoded I get

http://www.b2bemailer.com/email/admin/resources/email%5Ftemplates/Business/Generic%25205%2520%25281%2520Column%2529/bkg%5Fheader%5Ftop.gif

The only way I can think of is to HTTPMethod('GET', URLassupplied) and if that 
404s try HTTPMethod('GET', encodedurl). Do you have any better suggestion?


Roy Lambert

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to