- added missing HttpMessage::setBody()
[m6w6/ext-http] / http_util_object.c
index d4c544d92c3f485adbeefde6e839c78426849c31..1feabad71f9f28bcd407df7ffcc824d43b800eb7 100644 (file)
@@ -73,25 +73,14 @@ HTTP_BEGIN_ARGS(chunkedDecode, 1)
        HTTP_ARG_VAL(encoded_string, 0)
 HTTP_END_ARGS;
 
-HTTP_BEGIN_ARGS(splitResponse, 1)
-       HTTP_ARG_VAL(response_string, 0)
+HTTP_BEGIN_ARGS(parseMessage, 1)
+       HTTP_ARG_VAL(message_string, 0)
 HTTP_END_ARGS;
 
 HTTP_BEGIN_ARGS(parseHeaders, 1)
        HTTP_ARG_VAL(headers_string, 0)
 HTTP_END_ARGS;
 
-HTTP_BEGIN_ARGS(authBasic, 2)
-       HTTP_ARG_VAL(username, 0)
-       HTTP_ARG_VAL(password, 0)
-       HTTP_ARG_VAL(realm, 0)
-HTTP_END_ARGS;
-
-HTTP_BEGIN_ARGS(authBasicCallback, 1)
-       HTTP_ARG_VAL(callback, 0)
-       HTTP_ARG_VAL(realm, 0)
-HTTP_END_ARGS;
-
 zend_class_entry *http_util_object_ce;
 zend_function_entry http_util_object_fe[] = {
        HTTP_UTIL_ALIAS(date, http_date)
@@ -102,11 +91,10 @@ zend_function_entry http_util_object_fe[] = {
        HTTP_UTIL_ALIAS(matchEtag, http_match_etag)
        HTTP_UTIL_ALIAS(matchRequestHeader, http_match_request_header)
        HTTP_UTIL_ALIAS(chunkedDecode, http_chunked_decode)
-       HTTP_UTIL_ALIAS(splitResponse, http_split_response)
+       HTTP_UTIL_ALIAS(parseMessage, http_parse_message)
        HTTP_UTIL_ALIAS(parseHeaders, http_parse_headers)
-       HTTP_UTIL_ALIAS(authBasic, http_auth_basic)
-       HTTP_UTIL_ALIAS(authBasicCallback, http_auth_basic_cb)
-       {NULL, NULL, NULL}
+       
+       EMPTY_FUNCTION_ENTRY
 };
 
 void _http_util_object_init(INIT_FUNC_ARGS)