Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
c7d62a73
Commit
c7d62a73
authored
Jan 14, 2014
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove authorization header if any before adding a new one
parent
64d4eb2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/http-provider.c
src/http-provider.c
+1
-0
No files found.
src/http-provider.c
View file @
c7d62a73
...
...
@@ -117,6 +117,7 @@ static int http_channel_context_handle_authentication(belle_http_channel_context
if
(
authorization
)
belle_sip_object_unref
(
authorization
);
ret
=-
1
;
}
else
{
belle_sip_message_remove_header
(
BELLE_SIP_MESSAGE
(
req
),
BELLE_HTTP_AUTHORIZATION
);
belle_sip_message_add_header
(
BELLE_SIP_MESSAGE
(
req
),
BELLE_SIP_HEADER
(
authorization
));
belle_http_provider_send_request
(
ctx
->
provider
,
req
,
NULL
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment