Skip to content

Commit

Permalink
allow httpout.hdrs to override existing headers in push mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouqueau committed Dec 20, 2023
1 parent 7964946 commit d876710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/downloader.c
Expand Up @@ -4934,7 +4934,7 @@ static GF_Err http_send_headers(GF_DownloadSession *sess, char * sHTTP) {
continue;
}

PUSH_HDR(par.name, par.value)
gf_dm_sess_set_header_ex(sess, par.name, par.value, GF_TRUE);

if (!stricmp(par.name, "Accept")) has_accept = GF_TRUE;
else if (!stricmp(par.name, "Range")) has_range = GF_TRUE;
Expand Down

0 comments on commit d876710

Please sign in to comment.