ghu0211 / jcoap

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

BasicCoapMessage.getContentType returns wrong value #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a BasicCoapMessage
2. Set the contentType to exi
3. Call getContentType on the message and the wrong value is returned

What is the expected output? What do you see instead?
I expected to get content type exi but received text-plain instead

What version of the product are you using? On what operating system?

Please provide any additional information below.
I submitted a bug fix in my cloned instance. Please apply the patch when you 
get a chance.

Original issue reported on code.google.com by greg_mir...@onsetcomp.com on 11 May 2012 at 5:08