[an error occurred while processing this directive]
Location: > Products > 4D Components > HTTP Server Deux    Site Map

HTTP Server Deux

HTTP Server Deux v1.0.0b02 is shipping

HTTP Server Deux is a 4th Dimension component which provides a cross-platform, flexible web server. HTTP Server Deux gives 4D developers all of the parsing, formatting, and utility routines needed, smoothly integrated with the TCP Server Deux component, in a small and easily understood component package. HTTP Server Deux works on top of TCP Server Deux, TCP Deux, and BASh and works with Internet ToolKit v2.0.x and Internet ToolKit v2.5.x.

HTTP Server Deux provides complete request parsing functionality. All variants of HTTP requests are parsed automatically by the HTTP Server Deux component. All values within the HTTP request are available to the 4D developer with simple to use accessor routines. Handling of posted arguments, uploaded documents, custom request headers, etc., are all handled properly by the HTTP Server Deux component.

The generation of a proper HTTP response, including proper headers, is handled by the HTTP Server Deux component. Merely setting the HTTP response code is often enough to send back a properly formatted HTTP response header. Access to customize any and all of the response header values is available through a set of simple and flexible accessor methods. Customizing the response header can be done as much as needed or desired by the 4D developer. HTTP Server Deux merely provides a framework to simplify the process for the 4D developer.

As well, all parsing and handling of values has been done with BLOBs, so there are no instances of 32K limits within the HTTP Server Deux component. This holds through the response generation routines made available through the HTTP Server Deux component, too.

The new beta fixes many bugs and outstanding issues from the first beta. As well, a fully functional demo mode for the component is now supported, allowing for complete access for the first 30 minutes of operation while running in demo mode.

This release also includes a new API facility for supporting Adjunct Components. Adjunct Components are designed to increase the functionality of HTTP Server Deux based applications. The first Adjunct Component for HTTP Server Deux is being released today in beta: HTTP Log Deux. This Adjunct Component provides a simple configuration API for generating fully standards complient web logs from applications using HTTP Server Deux.

A full manual, explaining every call and feature available in HTTP Server Deux, is included with the component.


HTTP Server Deux works on top of the TCP Server Deux component. TCP Server Deux provides all of the listener handling, threading, process management, and internal communications needed within any custom server written in 4th Dimension.

HTTP Server Deux also works on top of the TCP Deux component. TCP Deux provides completely transparent operation with 4D Internet Commands v6.7.x, Internet ToolKit v2.0.x, and Internet ToolKit v2.5.x. However, because HTTP Server Deux needs robust, asynchronous TCP listeners, only ITK 2.0.x or ITK 2.5.x will function correctly with HTTP Server Deux.

The HTTP Server Deux, TCP Server Deux and TCP Deux components require that the BASh component also be installed to operate properly. BASh is available for free from Deep Sky Technologies, Inc., and provides essential routines useful to all 4D programmers.

HTTP Server Deux requires that you use TCP Deux v1.0.1 or above and BASh v1.6.0 or above. You can get the latest copies of all required components from the downloads page.

Pricing and Availability

HTTP Server Deux has been released with separate development and deployment licensing. Development licensing includes all updates released within a year of purchase for free and allows for unlimited development by a single developer for a period of one year from the date of purchase. Renewals of the development license will be provided at a discounted price. Deployment licensing is a one time fee per application which allows deployments to run indefinitely.

The pricing for the different options available for purchasing HTTP Server Deux are as follows:

License Price
Developer, 1 year (includes 1 deployment) $195.00 Buy Now
Developer, 1 year extension $95.00 Buy Now
Deployment, 1 pack $195.00 Buy Now
Deployment, 5 pack $795.00 Buy Now
Deployment, 10 pack $1295.00 Buy Now

All prices are in US dollars.

For deployment licensing in excess of 10, contact Deep Sky Technologies, Inc., directly for discounted pricing fit your exact needs. We are always open to working with other developers to provide hassle free, volume licensing for vertical market applications that provides the best possible advantages to all parties.

Download HTTP Server Deux Now

The licensing schema for HTTP Server Deux gives you direct access to both platforms for the component. The downloadable archives for HTTP Server Deux are provided in both Macintosh and Windows formats, for your convenience. Both formats though include copies of the HTTP Server Deux component ready for use on either platform.

 HTTP Server Deux Demo v1.0.0b02 - This demo provides a very simple web server using the HTTP Server Deux component running in demo mode. The source code shows clearly how to initialize and setup the web server, how to use the HTTPsd API to get information about the request, and how to send a response using the component. The demo is provided in both interpretted and compiled mode for you to work with and study. And, it does contain pages for working with all different HTTP requests, including GET, POST, and POST with an uploaded document.

Demo last modified on January 15th, 2002

[an error occurred while processing this directive]
What Do I Need?

All of the 4D components available from Deep Sky Technologies, Inc., function in tandem with each other. The functionality that any particular component provides can be dependent upon the functionality of one or more other components and/or plugins. This is particularly true of the Internet related components.

For the Internet related components, TCP Deux is the base, or "lowest", level component which is always required. TCP Deux, along with the utilities within the BASh component and one of the compatible TCP plugins (e.g. Internet Commands v6.7.x, Internet ToolKit v2.0.x, or Internet ToolKit v2.5.x), form what is called the Core Components & Plugins. All other Internet related components work in conjunction with all of the individual parts of this group of development tools.

TCP Server Deux forms the basis for the Server Components group. All server related components require similar threading, processing management, and stream management that is available in TCP Server Deux. HTTP Server Deux, like other server components to follow, works "on top" of TCP Server Deux and all of the tools in the Core group. All of the base hooks needed to provide a robust, custom server in 4D are available within the TCP Server Deux component.

Some components or groups of components have particular requirements to function properly. These are indicated in the graphic, below, by the green numbers; a legend below the graphic describes the particular requirements of each mark. For servers, either version of ITK is compatible; but, Internet Commands is not compatible with any components in the Server group as IC lacks the necessary asynchronous TCP listening capability required of a robust, custom server written in 4D. For any server to include a secure layer, ITK v2.5.x is required with an ITK SSL Server license.

For any component available from Deep Sky Technologies, Inc., it is simple to determine what other components and plugins are required. Find the particular component you meed in the image, below. Following the arrows, all tools which lay "below" it are required for development and deployment of your 4D based systems.

1 Requires Internet ToolKit v2.0.x or Internet ToolKit v2.5.x plugin
2 Requires Internet ToolKit Pro v2.5.x plugin
[an error occurred while processing this directive]