Modified wrong parameter 99/71399/2 accepted/tizen/common/20160525.160156 accepted/tizen/mobile/20160525.235513 accepted/tizen/wearable/20160525.235350 submit/tizen/20160525.071711
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 25 May 2016 08:15:12 +0000 (17:15 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 25 May 2016 08:17:44 +0000 (17:17 +0900)
Change-Id: I591e647252216129a380b592ccd2bdb00bb84854
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
include/http.h
packaging/capi-network-http.spec
src/http_request.c

index a4a4318..25c2dfc 100644 (file)
@@ -821,7 +821,7 @@ int http_transaction_request_get_accept_encoding(http_transaction_h http_transac
 int http_transaction_request_set_cookie(http_transaction_h http_transaction, const char *cookie);
 
 /**
- * @brief Gets a cookie in the HTT request.
+ * @brief Gets a cookie in the HTTP request.
  * @since_tizen 3.0
  * @remarks  The @a cookie should be freed using free().
  * @param[in]  http_transaction The http transaction handle
@@ -832,7 +832,7 @@ int http_transaction_request_set_cookie(http_transaction_h http_transaction, con
  * @retval  #HTTP_ERROR_INVALID_OPERATION  Invalid operation
  * @retval  #HTTP_ERROR_NOT_SUPPORTED  Not Supported
  */
-int http_transaction_request_get_cookie(http_transaction_h http_transaction, const char **cookie);
+int http_transaction_request_get_cookie(http_transaction_h http_transaction, char **cookie);
 
 /**
  * @brief Writes the request message body.
index 4ef03e8..92d393f 100644 (file)
@@ -1,6 +1,6 @@
 Name:          capi-network-http
 Summary:       Http Framework
-Version:       0.0.6
+Version:       0.0.7
 Release:       0
 Group:         System/Network
 License:       Apache-2.0
index 4d04e07..91160c4 100644 (file)
@@ -180,7 +180,7 @@ API int http_transaction_request_set_cookie(http_transaction_h http_transaction,
        return HTTP_ERROR_NONE;
 }
 
-API int http_transaction_request_get_cookie(http_transaction_h http_transaction, const char **cookie)
+API int http_transaction_request_get_cookie(http_transaction_h http_transaction, char **cookie)
 {
        _retvm_if(_http_is_init() == false, HTTP_ERROR_INVALID_OPERATION,
                        "http isn't initialized");