How to setup TIBCO API Exchange Gateway to handle different file formats?

How to setup TIBCO API Exchange Gateway to handle different file formats?

book

Article ID: KB0073964

calendar_today

Updated On:

Products Versions
TIBCO API Exchange 2.3.3 and above

Description

This article provides inputs when APIX-G is handling files of different formats in proxy mode.

Environment

All Supported Platforms

Resolution

When APIX-G is used as a proxy to transfer files of different formats, here is a list of values for Content-Type header that will make sure the files are transferred without corruption.

>> .doc:
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- application/octet-stream
Note:"application/msword" does not help.

>> .xls:
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- application/octet-stream
Note:  "application/vnd.ms-excel" does not help.

>> .zip:
- application/octet-stream
Note: Values of application/zip or application/x-zip-compressed does not help.

>> .pdf:
- application/pdf

>> .docx:
application/vnd.openxmlformats-officedocument.wordprocessingml.document

>> .jpg:
- image/jpeg

>> .xlsx:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Issue/Introduction

This article provides inputs when APIX-G is handling files of different formats in proxy mode.

Additional Information

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
https://stackoverflow.com/questions/6977544/rar-zip-files-mime-type
https://stackoverflow.com/questions/2937465/what-is-correct-content-type-for-excel-files