You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-c-dev@ws.apache.org by Gordon Brown <go...@yahoo.com> on 2010/07/20 01:28:35 UTC
custom http headers
Hi All,
Some time again (about two years ago?), in this mailing list devs talked about
add some new APIs to allow user to add custom HTPP headers. The APIs mentioned
are the following:
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_options_add_custom_http_header(
axis2_options_t* options,
const axutil_env_t* env,
const axis2_char_t* name,
const axis2_char_t* value);
AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL
axis2_options_get_custom_http_header_list(
const axis2_options_t* options,
const axutil_env_t* env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_options_remove_custom_http_header(
axis2_options_t* options,
const axutil_env_t* env,
const axis2_char_t* name);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_options_remove_all_custom_http_headers(
axis2_options_t* options,
const axutil_env_t* env);
Are these APIs implemented by now? I don't find them in the source in the latest
release (version 1.6). The only one API that exists (axis2_options.h) is the
following:
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_options_set_http_headers(
axis2_options_t * options,
const axutil_env_t * env,
axutil_array_list_t * http_header_list);
Are there known issues with this API?
Thanks much!
Gordon
Re: custom http headers
Posted by Damitha Kumarage <da...@wso2.com>.
Gordon Brown wrote:
> Hi All,
>
> Some time again (about two years ago?), in this mailing list devs
> talked about add some new APIs to allow user to add custom HTPP
> headers. The APIs mentioned are the following:
>
> AXIS2_EXTERN axis2_status_t AXIS2_CALL
> axis2_options_add_custom_http_header(
> axis2_options_t* options,
> const axutil_env_t* env,
> const axis2_char_t* name,
> const axis2_char_t* value);
> AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL
> axis2_options_get_custom_http_header_list(
> const axis2_options_t* options,
> const axutil_env_t* env);
> AXIS2_EXTERN axis2_status_t AXIS2_CALL
> axis2_options_remove_custom_http_header(
> axis2_options_t* options,
> const axutil_env_t* env,
> const axis2_char_t* name);
> AXIS2_EXTERN axis2_status_t AXIS2_CALL
> axis2_options_remove_all_custom_http_headers(
> axis2_options_t* options,
> const axutil_env_t* env);
> Are these APIs implemented by now? I don't find them in the source in
> the latest release (version 1.6). The only one API that
> exists (axis2_options.h) is the following:
>
> AXIS2_EXTERN axis2_status_t AXIS2_CALL
> axis2_options_set_http_headers(
> axis2_options_t * options,
> const axutil_env_t * env,
> axutil_array_list_t * http_header_list);
>
> Are there known issues with this API?
No body has opposed to this proposal , but it seems that this
implementation has not taken place somehow.
Thanks,
Damitha
>
> Thanks much!
> Gordon
>
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org