Soletta™ Framework
|
Used to rank content type priorities. More...
#include <sol-http.h>
Data Fields | |
struct sol_str_slice | content_type |
The content type itself. More... | |
uint16_t | index |
The original index as found in the content type/accept HTTP header. More... | |
double | qvalue |
The qvalue for the content type. More... | |
struct sol_str_slice | sub_type |
The sub type. More... | |
struct sol_vector | tokens |
An array of sol_str_slice. More... | |
struct sol_str_slice | type |
The type. More... | |
Used to rank content type priorities.
struct sol_str_slice sol_http_content_type_priority::content_type |
The content type itself.
Example: "text/html"
uint16_t sol_http_content_type_priority::index |
The original index as found in the content type/accept HTTP header.
double sol_http_content_type_priority::qvalue |
The qvalue for the content type.
struct sol_str_slice sol_http_content_type_priority::sub_type |
The sub type.
Example "html"
struct sol_vector sol_http_content_type_priority::tokens |
An array of sol_str_slice.
For example, for the content type "text/html;level=1;level2"
, this array would contain "level=1"
and "level=2"
struct sol_str_slice sol_http_content_type_priority::type |
The type.
Example "text"