http_client_misc.c
String manipulation helper functions.
Transport protocol abstraction layer.
char_t * strTrimWhitespace(char_t *s)
Removes all leading and trailing whitespace from a string.
Definition: str.c:78
error_t httpClientFormatChunkSize(HttpClientContext *context, size_t length)
Format chunk-size field.
Definition: http_client_misc.c:155
error_t httpClientParseTransferEncodingField(HttpClientContext *context, const char_t *value)
Parse Transfer-Encoding header field.
Definition: http_client_misc.c:477
error_t httpClientParseConnectionField(HttpClientContext *context, const char_t *value)
Parse Connection header field.
Definition: http_client_misc.c:426
error_t httpClientParseHeaderField(HttpClientContext *context, char_t *line, size_t length)
Parse HTTP response header field.
Definition: http_client_misc.c:296
void httpClientChangeRequestState(HttpClientContext *context, HttpRequestState newState)
Update HTTP request state.
Definition: http_client_misc.c:72
error_t httpClientParseContentLengthField(HttpClientContext *context, const char_t *value)
Parse Content-Length header field.
Definition: http_client_misc.c:507
error_t httpClientParseStatusLine(HttpClientContext *context, char_t *line, size_t length)
Parse HTTP status line.
Definition: http_client_misc.c:212
error_t httpClientCheckTimeout(HttpClientContext *context)
Determine whether a timeout error has occurred.
Definition: http_client_misc.c:585
error_t httpClientParseChunkSize(HttpClientContext *context, char_t *line, size_t length)
Parse chunk-size field.
Definition: http_client_misc.c:538
HTTP client (HyperText Transfer Protocol)
error_t httpClientParseWwwAuthenticateField(HttpClientContext *context, const char_t *value)
Parse WWW-Authenticate header field.
Definition: http_client_auth.c:289
error_t httpClientFormatRequestHeader(HttpClientContext *context)
Format default HTTP request header.
Definition: http_client_misc.c:89
error_t httpCheckCharset(const char_t *s, size_t length, uint_t charset)
Check whether a string contains valid characters.
Definition: http_common.c:49
Helper functions for HTTP client.
TCP/IP stack core.
void httpClientChangeState(HttpClientContext *context, HttpClientState newState)
Update HTTP client state.
Definition: http_client_misc.c:55
Debugging facilities.
HTTP authentication.