#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <stdarg.h>
#include <assert.h>
#include <sofia-sip/su_alloc.h>
#include "sofia-sip/http_parser.h"
#include <sofia-sip/http_header.h>
#include <sofia-sip/http_status.h>
Include dependency graph for http_header.c:
Functions | |
int | http_request_complete (msg_t *msg) |
Complete a HTTP request. | |
int | http_strip_hostport (url_t *url) |
Remove schema, host, and port from URL. | |
int | http_message_complete (msg_t *msg, http_t *http) |
Complete a HTTP message. | |
int | http_complete_response (msg_t *msg, int status, char const *phrase, http_t const *request) |
Add required headers to the response message. | |
http_header_t * | http_header_copy (su_home_t *home, http_header_t const *h) |
Copy a HTTP header. | |
http_header_t * | http_header_dup (su_home_t *home, http_header_t const *h) |
Duplicate a HTTP header. | |
http_header_t * | http_header_d (su_home_t *home, msg_t const *msg, char const *b) |
Decode a HTTP header. | |
int | http_header_e (char b[], int bsiz, http_header_t const *h, int flags) |
Encode a HTTP header. | |
int | http_header_field_e (char b[], int bsiz, http_header_t const *h, int flags) |
Encode HTTP header contents. | |
int | http_add_dup (msg_t *msg, http_t *http, http_header_t const *o) |
Add a duplicate of header object to a HTTP message. | |
int | http_add_make (msg_t *msg, http_t *http, msg_hclass_t *hc, char const *s) |
Add a header to the HTTP message. | |
int | http_add_format (msg_t *msg, http_t *http, msg_hclass_t *hc, char const *fmt,...) |
Add a header to the HTTP message. | |
int | http_url_cmp (url_t const *a, url_t const *b) |
Compare two HTTP URLs. |