Subject Re: Content-Type Application/PDF
From Osvaldo Ramirez <ramirezosvaldo@yahoo.com>
Date Tue, 15 Oct 2019 13:59:39 -0600
Newsgroups xb2net

On 8/31/10 18:02, Roger Donnay wrote:
> Roger Donnay <> Wrote:
>
>> Has anyone been successful at returning a PDF file into a web browser from Xb2.Net?
>>
>> The docs are a bit unclear about how to do this.
>>
>> Would I do the following?
>>
>> oThread:httpResponse:content := <binary contents of PDF file>
>> oThread:httpResponse:contenttype := "Application/PDF?
>>
>>
>
> I didn't expect it to be that simple.
> I posted my message before even trying it.
> Works perfectly!!!!
>

Hello
Just asking, Is it the same to return a zip file ?

Best Regards
Osvaldo Ramirez


Recent messages in this thread
 
-# Re: Content-Type Application/PDF (Current message) Osvaldo Ramirez 15-Oct-2019 03:59 pm
.\# Re: Content-Type Application/PDF Martin Altmann 15-Oct-2019 04:04 pm