diff options
Diffstat (limited to 'include/asterisk/http.h')
-rw-r--r-- | include/asterisk/http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/http.h b/include/asterisk/http.h index 9508188ab..9d92ef5a7 100644 --- a/include/asterisk/http.h +++ b/include/asterisk/http.h @@ -141,9 +141,11 @@ int ssl_setup(struct tls_config *cfg); return the content, allocated with malloc(). Status should be changed to reflect the status of the request if it isn't 200 and title may be set to a malloc()'d string to an appropriate title for non-200 responses. Content length may also be specified. +\verbatim The return value may include additional headers at the front and MUST include a blank line with \r\n to provide separation between user headers and content (even if no content is specified) +\endverbatim */ typedef struct ast_str *(*ast_http_callback)(struct sockaddr_in *requestor, const char *uri, struct ast_variable *params, int *status, char **title, int *contentlength); |