diff options
author | damitha | 2011-05-31 09:16:01 +0000 |
---|---|---|
committer | damitha | 2011-05-31 09:16:01 +0000 |
commit | 0893c0b34450ccfa46463a71ad0fc588ef16abd7 (patch) | |
tree | 691cc2e3145557c028d94a4fb72cc5fcfb458b62 /src/core/transport/http/common | |
parent | bcaf5833f0b73566937ad9629d01c943b553abe7 (diff) | |
download | axis2c-0893c0b34450ccfa46463a71ad0fc588ef16abd7.tar.gz axis2c-0893c0b34450ccfa46463a71ad0fc588ef16abd7.tar.bz2 |
Initial checkin of ntlm auth code
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1129586 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport/http/common')
-rw-r--r-- | src/core/transport/http/common/http_header.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/transport/http/common/http_header.c b/src/core/transport/http/common/http_header.c index bd461e3..e98bbf3 100644 --- a/src/core/transport/http/common/http_header.c +++ b/src/core/transport/http/common/http_header.c @@ -166,3 +166,18 @@ axis2_http_header_get_value( { return http_header->value; } + +AXIS2_EXTERN void AXIS2_CALL +axis2_http_header_set_value( + axis2_http_header_t * http_header, + const axutil_env_t * env, + const axis2_char_t *value) +{ + if(http_header->value) + { + AXIS2_FREE(env->allocator, http_header->value); + http_header->value = NULL; + } + http_header->value = (axis2_char_t *)axutil_strdup(env, value); +} + |