HTTP Client for ClearPath MCP

Product Overview

The HTTP Client product is an application programming interface (API) that allows COBOL85, ALGOL, NEWP, and AB Suite applications to easily issue HTTP requests to Web servers and process the responses. The API supports HTTP levels 1.0 and 1.1, secure socket layer (SSL) (https), Cookies, HTTP Basic and NTLM authentication, compression and decompression, redirects, and more.  HTTP Client is a part of the WEBAPPSUPPORT library, which is released with the Custom Connect Facility (CCF) product.

General Features

The HTTP Client API provides the following features:

  • Handles HTTP 1.0 and 1.1 on behalf of the application.

  • Supports all HTTP methods, including GET, POST, PUT, etc.

  • Controls the socket settings, including setting attributes for SSL (https).

  • Specifies request headers and a query string.

  • Specifies request content, such as for a POST request.

  • Stores cookies, set by the server, in the library which can be re-sent on subsequent requests that match the cookie settings.

  • Stores credentials in the library for automatic sending to the server and supports HTTP Basic and NTLM authentication methods.

  • Automatically follows redirection responses (ex. 301).

  • Accesses the status line, response headers, and response content in the server’s response.

  • Configures objects related to the request which can be re-used.

  • Handles multiple requests to different servers.

  • Automatically translates text supplied by the application for the request and returned to the application from the response. For example, the application can use the ASERIESEBCDIC character set, while the HTTP server receives and returns ASCII.

Configuration Requirements

Software

The XML Parser Java Parser Module is needed for compressing request data; otherwise no special software is required.

Hardware

Currently supported MCP hardware

Ordering Information

The HTTP Client for ClearPath MCP is included as part of the operating environment for ClearPath servers. Source code is not available for this product.

Product Information

Refer to the ClearPath Enterprise Servers WEBAPPSUPPORT Application Programming Guide (3826 5286) for more information.