Translate MIME to HTTP Form Assertion
The Translate MIME to HTTP Form assertion allows you to parse and convert an incoming multi-part MIME message into an HTTP form submission such as would be submitted by a browser-like client. The Gateway converts incoming MIME content to HTTP form format in accordance with an ordered list of configured field names. If an incoming message does not contain sufficient MIME parts for the field names configured for conversion in the Translate MIME to HTTP Form assertion, then the assertion will fail.
gateway90
The
Translate MIME to HTTP Form
assertion allows you to parse and convert an incoming multi-part MIME message into an HTTP form submission such as would be submitted by a browser-like client. The Gateway converts incoming MIME content to HTTP form format in accordance with an ordered list of configured field names. If an incoming message does not contain sufficient MIME parts for the field names configured for conversion in the Translate MIME to HTTP Form assertion, then the assertion will fail.For information on parsing and converting incoming HTML form content into a multi-part MIME message, see the Translate HTTP Form to MIME Assertion.
Using the Assertion
- Do one of the following:
- To add the assertion to the Policy Development window, see Add an Assertion.
- To change the configuration of an existing assertion, proceed to step 2 below.
- When adding the assertion, theMIME to HTTP Form Translation Propertiesautomatically appear; when modifying the assertion, right-clickTranslate MIME to HTTP Formin the policy window and selectMIME to HTTP Form Translation Propertiesor double-click the assertion in the policy window. The assertion properties are displayed.
- Select an action to perform.ActionDescriptionAddClick [Add] to add an HTTP form field name.ModifySelect an existing form field and then click [Modify] to edit the name.RemoveSelect a form field name to remove and then click [Remove] to delete it. The name is removed without further confirmation.Move UpMove DownSince the Gateway converts the parts of each MIME message sequentially, the order of the form fields in the HTTP Form Field Names table must reflect the order of the MIME parts in the message. To change the order of the entries in the table, select an entry to be moved and then click [Move Up] or [Move Down].
- When adding or modifying a field, the Configure Field Name dialog appears.Enter or modify the HTTP form field name. When the MIME message is transformed into an HTTP form post, the MIME part matching this field name's position will be rendered as "fieldname=<data>...".
- Click [OK]