||Re: Content-Type Application/PDF
Osvaldo Ramirez <email@example.com>
||Tue, 15 Oct 2019 13:59:39 -0600
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!!!!
Just asking, Is it the same to return a zip file ?