Skip to Content
0
Former Member
Jul 31, 2004 at 03:15 PM

How to display binary content in EP 5.0?

11 Views

I would like to display binary content in a http-response. Formerly using a BSP-Application in Web-AS I achieved this by something like

call method mserver->response->set_header_field(

name = 'Content-Type' value = mimetype ).

call method mserver->response->set_data( data = mimedata ).

Within the context of AbstractPortalComponent I dont find a way to set the content type in a way to directly display binary content in a PRT-Context.

What did I miss ..?