dvoina / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

How to set MSRP content-type? #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I want to set Content-type:text/plain;chatset=UTF-8 in MSRP message.
2.Content-type is set to Content-Type: application/octet-stream automatically.
3.How to set Content-type:text/plain;chatset=UTF-8 in MSRP message?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
IMSDroid 1.1.343  on Android 2.2

Please provide any additional information below.

Original issue reported on code.google.com by nieyaol...@gmail.com on 4 Jan 2011 at 3:40

GoogleCodeExporter commented 9 years ago
ActionConfig messageConfig = new ActionConfig();
messageConfig.setMediaString(twrap_media_type_t.twrap_media_msrp, 
"content-type", "text/plain;charset=utf-8");
msrpSession.session.sendMessage(payload, (long)payload.capacity(), 
messageConfig);

setMediaString method do not work.

Original comment by twbc.cla...@gmail.com on 7 Jan 2011 at 6:48

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 7 Jan 2011 at 3:09

GoogleCodeExporter commented 9 years ago
No comment?

Original comment by twbc.cla...@gmail.com on 7 Jan 2011 at 3:59

GoogleCodeExporter commented 9 years ago
There is no comment because I have to test it for confirmation. If confirmed 
then I will change the status to "NextRelease" ;)

Original comment by boss...@yahoo.fr on 7 Jan 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Fixed in 1.2.355

Original comment by boss...@yahoo.fr on 11 Jan 2011 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 11 Jan 2011 at 1:18