* @brief Called when the http header is received.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
- * @param[in] header The header information of Http Transaction
- * @param[in] header_len The length of the Http Transaction header
+ * @param[in] header The header information of HTTP Transaction
+ * @param[in] header_len The length of the HTTP Transaction header
* @param[in] user_data The user data
* @see http_transaction_set_received_header_cb()
*/
* @brief Called when the http response is received.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
- * @param[in] body Response information of Http Transaction
+ * @param[in] body Response information of HTTP Transaction
* @param[in] size Size in bytes of each element to be written
* @param[in] count Number of elements, each one with a size of size bytes
* @param[in] user_data The user data
* @brief Called when the http ready to write event is received.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
- * @param[in] recommended_chunk_size Recommended chunk length(bytes) of the Http transaction
+ * @param[in] recommended_chunk_size Recommended chunk length(bytes) of the HTTP transaction
* @param[in] user_data The user data
* @see http_transaction_set_uploaded_cb()
*/
typedef void (*http_transaction_progress_cb)(http_transaction_h http_transaction, double download_total, double download_now, double upload_total, double upload_now, void *user_data);
/**
- * @brief Initializes the Http module.
+ * @brief Initializes the HTTP module.
* @since_tizen 3.0
* @return 0 on success, otherwise negative error value
* @retval #HTTP_ERROR_NONE Successful
int http_init(void);
/**
- * @brief Deinitializes the Http module.
+ * @brief Deinitializes the HTTP module.
* @since_tizen 3.0
* @return 0 on success, otherwise negative error value
* @retval #HTTP_ERROR_NONE Successful
*/
/**
- * @brief Creates the Http session handle.
+ * @brief Creates the HTTP session handle.
* @since_tizen 3.0
* @remarks The @a http_session should be released using http_session_destroy(). \
- * Opened transactions can't be submitted after destroing session handle.
+ * Opened transactions can't be submitted after destroying session handle.
* @param[in] mode The http session mode
* @param[out] http_session The http session handle
* @return 0 on success, otherwise negative error value
int http_session_create(http_session_mode_e mode, http_session_h *http_session);
/**
- * @brief Destroys the Http session handle.
+ * @brief Destroys the HTTP session handle.
* @since_tizen 3.0
* @remarks http_session should be set to NULL after using it
* @param[in] http_session The http session handle
int http_session_destroy(http_session_h http_session);
/**
- * @brief Opens Http transaction from the Http Session.
+ * @brief Opens HTTP transaction from the HTTP Session.
* @since_tizen 3.0
* @remarks The @a http_transaction should be released using http_transaction_destroy().
* @param[in] http_session The http session handle
*/
/**
- * @brief Submits the Http request.
+ * @brief Submits the HTTP request.
* @since_tizen 3.0
* @privlevel public
* @privilege %http://tizen.org/privilege/internet
/**
* @brief Adds a named field to header.
- * @details Adds a named field, which is a <@c fieldName, @c fieldValue> pair, to the current instance of Http Transaction.
+ * @details Adds a named field, which is a <@c fieldName, @c fieldValue> pair, to the current instance of HTTP Transaction.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[in] field_name The http Header Field name
/**
* @brief Removes the named field from header.
- * @details Remove the named field, which is a <@c fieldName, @c fieldValue> pair, from the current instance of Http Transaction.
+ * @details Remove the named field, which is a <@c fieldName, @c fieldValue> pair, from the current instance of HTTP Transaction.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[in] field_name The http Header Field name
int http_transaction_header_remove_field(http_transaction_h http_transaction, const char *field_name);
/**
- * @brief Gets the Http Header Field value from custom header.
+ * @brief Gets the HTTP Header Field value from custom header.
* @since_tizen 3.0
* @remarks The @a field_value should be freed using free().
* @param[in] http_transaction The http transaction handle
int http_transaction_header_get_field_value(http_transaction_h http_transaction, const char *field_name, char **field_value);
/**
- * @brief Opens Http transaction with authentication information.
+ * @brief Opens HTTP transaction with authentication information.
* @since_tizen 3.0
- * @remarks The @a http_transaction should be released using http_transaction_destroy().
+ * @remarks The @a http_auth_transaction should be released using http_transaction_destroy().
* @param[in] http_transaction The http transaction handle
* @param[out] http_auth_transaction The http transaction handle
* @return 0 on success, otherwise negative error value
int http_open_authentication(http_transaction_h http_transaction, http_transaction_h *http_auth_transaction);
/**
- * @brief Sets an HTTP crendentials.
+ * @brief Sets an HTTP credentials.
* @details Set an HTTP authentication scheme such as username and password.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
/**
* @brief Gets the username & password for the http credential.
* @since_tizen 3.0
- * @remarks The @a user_name & password should be freed using free().
+ * @remarks The @a user_name & @a password should be freed using free().
* @param[in] http_transaction The http transaction handle
* @param[out] user_name The http credential user name
* @param[out] password The http credential password
int http_transaction_set_http_auth_scheme(http_transaction_h http_transaction, http_auth_scheme_e auth_scheme);
/**
- * @brief Gets the Http authentication scheme.
+ * @brief Gets the HTTP authentication scheme.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[out] auth_scheme The http auth scheme value
int http_transaction_get_http_auth_scheme(http_transaction_h http_transaction, http_auth_scheme_e *auth_scheme);
/**
- * @brief Gets the Http authentication realm.
+ * @brief Gets the HTTP authentication realm.
* @since_tizen 3.0
* @remarks The @a realm should be freed using free().
* @param[in] http_transaction The http transaction handle
int http_transaction_request_set_method(http_transaction_h http_transaction, http_method_e method);
/**
- * @brief Gets the Http method from request header.
+ * @brief Gets the HTTP method from request header.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[out] method The http method
int http_transaction_request_set_version(http_transaction_h http_transaction, http_version_e version);
/**
- * @brief Gets the Http version from request header.
- * @details Get the Http version.
+ * @brief Gets the HTTP version from request header.
+ * @details Get the HTTP version.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[out] version The http version
int http_transaction_request_get_uri(http_transaction_h http_transaction, char **host_uri);
/**
- * @brief Sets the Accept-Encoding header field of HttpRequest.
+ * @brief Sets the Accept-Encoding header field of HTTP Request.
* @details The Accept-Encoding header enables automatic decompression of HTTP downloads.
* @since_tizen 3.0
* @remarks If empty string is set, an Accept-Encoding header contains all supported built-in compressions.
* @param[in] http_transaction The http transaction handle
- * @param[in] encoding The encoding algorithms (e.g. gizp, deflate)
+ * @param[in] encoding The encoding algorithms (e.g. gzip, deflate)
* @return 0 on success, otherwise negative error value
* @retval #HTTP_ERROR_NONE Successful
* @retval #HTTP_ERROR_INVALID_PARAMETER Invalid parameter
int http_transaction_request_set_accept_encoding(http_transaction_h http_transaction, const char *encoding);
/**
- * @brief Gets the Accept-Encoding header field of HttpRequest.
+ * @brief Gets the Accept-Encoding header field of HTTP Request.
* @since_tizen 3.0
* @remarks The @a encoding should be freed using free().
* @param[in] http_transaction The http transaction handle
*/
/**
- * @brief Gets the Http status code from Http Response.
+ * @brief Gets the HTTP status code from HTTP Response.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[out] status_code The http status code
int http_transaction_response_get_status_code(http_transaction_h http_transaction, http_status_code_e *status_code);
/**
- * @brief Gets the Http status text from Http Response.
+ * @brief Gets the HTTP status text from HTTP Response.
* @since_tizen 3.0
* @remarks The @a status_text should be freed using free().
* @param[in] http_transaction The http transaction handle
int http_transaction_response_get_status_text(http_transaction_h http_transaction, char **status_text);
/**
- * @brief Gets the Http version from Http Response.
+ * @brief Gets the HTTP version from HTTP Response.
* @since_tizen 3.0
* @param[in] http_transaction The http transaction handle
* @param[out] version The http version