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
* @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.
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");