CoSwitched / rcsjta

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

Wrong geolocation MIME type #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
com.gsma.services.rcs.chat.GeolocMessage should set the MIME_TYPE to 
"application/vnd.gsma.rcspushlocation+xml" rather than "application/geoloc"

Original issue reported on code.google.com by andreas-...@telekom.de on 1 Aug 2014 at 12:24

GoogleCodeExporter commented 9 years ago
I think that the MIME type at the API level is not the same as the MIME type at 
the protocol level. It's the reason why it is different for a Geoloc info.
Then may be "application/geoloc" is not a good naming, other solution to 
propose?
thks

Original comment by jmauffret@gmail.com on 1 Aug 2014 at 1:58

GoogleCodeExporter commented 9 years ago
Yes, sorry. You are completely right. It's a bit confusing as the correct MIME 
type used on protocoll level is defined in another class also called 
GeolocMessage (package: com.orangelabs.rcs.core.ims.service.im.chat).
As it's working but just confusing we could leave it as it is for the time 
being.

Original comment by andreas-...@telekom.de on 4 Aug 2014 at 6:40

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 4 Aug 2014 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 4 Aug 2014 at 1:54