05-03-2010 02:17 AM
i am trying to do a HTTP PUT in my application but what i understand from Sun's J2ME specs that it does not support HTTP PUT. however, when i try to do this in blackberry, it does not throw an IOException which it is supposed to throw in case of any unsupported Method.
does blackberry implementation supports HTTP PUT ?
in case it does, is there anything special that i need to take care apart from setting the method type as "PUT" and rest same as POST.
05-03-2010 04:10 AM
05-03-2010 06:20 AM
I saw that but it looks like a replica from sun's specification. the only thing which is confusing me is if it does not spports PUT , why it is not thowing an IOException which it should for any unsupported Method. Checked this by passing the method type as "abcd", and got the IOException. SO, there is something definietly in the implementation for PUT. want to know what is that.
i even tried to decompile Blackberrry implementation Jar but the obfuscation did not allow me to conclde anything. However, the class HttpConnection still has the static constants where i could only see HEAD/POST and GET.
05-03-2010 06:47 AM