Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

...

The μC/HTTPs module has to be configured according to specific needs. A template configuration file (http-s_cfg.h) is included in the module package (see µC/HTTPs Directories and Files), and this configuration should be copied into the application directory and included to the project. Here is the list of the values and description of each of the configuration variable. However, keep in mind that future releases of this module might include more configuration options.

Anchor
Argument Checking and Debug Configuration
Argument Checking and Debug Configuration
Argument Checking and Debug Configuration

Most functions in μC/HTTPs include code to validate arguments that are passed to it. Specifically, μC/TCP-IP checks to see if passed pointers are NULL, if arguments are within valid ranges, etc. The following constants configure additional argument checking.

A fair amount of code in μC/HTTPs has been included to simplify debugging. There are several configuration constants used to aid debugging.

Anchor
Counter Configuration
Counter Configuration
Counter Configuration

μC/HTTPs contains code that increments counters to keep track of statistics such as the number of request received, the number of connection processed, etc. Also, μC/HTTPs contains counters that are incremented when error conditions are detected. The following constants enable or disable HTTP counters.

Anchor
Dynamic Content Configuration
Dynamic Content Configuration
Dynamic Content Configuration

A considerable amount of code in μC/HTTPs has been included to parse, replace and transmit html document with dynamic content.<

Anchor
CGI / Form Submission Configuration
CGI / Form Submission Configuration
CGI / Form Submission Configuration

µC/HTTPs allows to use forms in HTML documents using the HTTP POST method. µC/HTTPs is designed to manage different type of form encoding and also to upload files from an HTML form.

Anchor
Header Field Configuration
Header Field Configuration
Header Field Configuration

μC/HTTPs contains code that allow the upper application to receive header field received in the request message and add header field to be transmitted with the response message.

Anchor
Proxy Configuration
Proxy Configuration
Proxy Configuration

µC/HTTPs can be accessed even if it’s located behind a proxy.