Query String Configuration
To enable the Query String feature, the compile-time configuration HTTPs_CFG_QUERY_STR_EN
must be set accordingly (See section Module Configuration).
Also a configuration object (HTTPs_QUERY_STR_CFG
) MUST be added to the HTTP Instance configuration (See section Instance Configuration).
For more information on HTTP Query String, see section Query String.
Query String Configuration Structure
const HTTPs_QUERY_STR_CFG HTTPs_QueryStrCfg = { 15, /* .NbrPerConnMax */ 20, /* .KeyLenMax */ 20 /* .ValLenMax */ };
Fields Description
Structure Field | Type | Description | Possible Values |
---|---|---|---|
NbrPerConnMax | CPU_INT16U | Maximum number of Query String fields accepted for each HTTP request. | SHOULD be >= 1 |
KeyLenMax | CPU_INT16U | Maximum length of the key part accepted by the HTTP server. | SHOULD be >= 1 |
ValLenMax | CPU_INT16U | Maximum length of the value part accepted by the HTTP server. | SHOULD be >= 1 |