extra headers in mmsbox url service call
This commit is contained in:
parent
5247c97695
commit
cb2e860093
|
@ -1,3 +1,5 @@
|
|||
2008-12-10 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
* Extra mbuni headers in mmsbox url service call
|
||||
2008-12-09 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
* MSISDN and IP request headers now list (MMSC)
|
||||
2008-12-04 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
|
|
|
@ -377,6 +377,15 @@ static int fetch_serviceurl(MmsEnvelope *e,
|
|||
octstr_destroy(s);
|
||||
}
|
||||
|
||||
if ((s = mms_get_header_value(m, octstr_imm("Date"))) != NULL) {
|
||||
http_header_add(rh, "X-Mbuni-Message-Date", octstr_get_cstr(s));
|
||||
octstr_destroy(s);
|
||||
}
|
||||
|
||||
s = date_format_http(e->created);
|
||||
http_header_add(rh, "X-Mbuni-Received-Date", octstr_get_cstr(s));
|
||||
octstr_destroy(s);
|
||||
|
||||
if (ms->type == TRANS_TYPE_POST_URL) { /* Put in the parameters. */
|
||||
MIMEEntity *x = mime_entity_create();
|
||||
|
||||
|
|
Loading…
Reference in New Issue