BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Response.SetCustomHeader('Transfer-Encoding', 'chunked')

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
C.H. Luke
Guest





PostPosted: Wed Jun 07, 2006 1:26 am    Post subject: Response.SetCustomHeader('Transfer-Encoding', 'chunked') Reply with quote



What is the proper way to send a Web enabled .Pdf to the user's
browser in a "chunked" fashion? I think there are 3 methods
involved, but I can't get them to work. They are:

Response.ContentStream := my_fyl_strm;
Response.SetCustomHeader('Transfer-Encoding','chunked');
Response.SendResponse;


Note that I can get the .pdf to transfer OK without setting the custom
header (just commenting out that line). I'm unsure of how to use the
chunking once the custom header has been set. I need a code snippet.
Thanks in advance.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.