8.4

is sent as a data file.
l Respond on error: Enter a message to be sent to the client as the output file if the process encounters
an error and is unable to send a reply that includes the actual output file. The information can be in any
desired format such as HTMLor plain text, but most browsers will interpret it as plain text.
l Send immediate response to client:Do not wait for the process to finish and send a static HTMLor
Text file back to the client instead. This prevents any timeout from occurring. When checking this
option, the field under the option is used to select which file to return.
l Use custom HTTPserver response code:When the process ends and a response is sent to the
requesting client, a custom response code can be specified depending on how the process goes.
While in previous versions the "200 OK"code was always used, this option overrides it to, for
example, "404 Not Found"or "401 Unauthorized".
l Variable containing the response code:The contents of the job information or local variable
selected in this drop-down, presumed to be a valid response code, will be returned in the
response header. This is the value that is present at the end of the process, not the beginning.
"Other" Tab
l Job Information group
l Information elements:indicates what job infos are automatically created by the input task.
l Add lines before first data page:Using the arrows keys you can add any job information
directly at the beginning of your data file.
l Backup input files:Check this to save a copy of each data file that is captured by your input. These
files are saved in the PlanetPress Suite Workflow Tools working folders under the "Backup"folder.
l Backup filename:Enter the filename that you wish the input data file backup to be saved under.
l Delete Existing Metadata:Check to remove any metadata from memory. This option is disabled on
initial input tasks, and is checked by default on secondary input tasks.
Job Information definitions
l %1- Client IPaddress:Contains the IPaddress of the HTTPclient requesting a response.
l %2 - Request header:Contains the headers of the request, which can contain information such as the
Browser and Operating System, languages, etc.
l %3 - Filename:Contains the local file name of the job file created by this task (and XMLfile). This is
equivalent to %o.
Examples &Use Cases
This task is put into effect in the following use cases and example processes: