Data Transformation Engine HTTP Adapter Reference Guide

Chapter 3 - HTTP Commands List of Commands
HTTP Adapter Reference Guide
22
Trace (-T or -TRACE)
Use the Trace adapter command (-T or -TRACE) to produce a diagnostics file with
the default name m4http.mtr in the map directory where the adapter is installed.
The file contains information detailing HTTP adapter activity.
-TRACE [+][S|V][full_path]
Option Description
+
Append trace information to the existing log file.
S
Summary mode. Default value. Record only minimal
information in the log file.
V
Verbose mode. Record in the log file all activity
occurring while the adapter is retrieving data. If not
specified, summary mode assumed.
full_path
Create a trace file with the specified name in the
specified directory. By default, the directory is where
the map is located and the file name is m4http.mtr.
Note Because summary mode is the default, using -TRACES provides the same output
as –TRACE.
Type (-TY or -TYPE)
Use the Type adapter command (-TY or -TYPE) to specify the MIME Content-Type
for the file used in the adapter request. The default type is application/octet-
stream. Refer to Known Limitations for additional information.
-TYPE content_type
Option Description
content_type
The default content type is application/octet
stream. You may use other types, but do not
use compound types such as multipart.