is there a prefered way of HTTP based communication?
Whereas the org.apache.http.client.methods works fine within the eclipse IDE there seems to be trouble in the real life (on pi3) which can be avoided by using org.apache.commons.httpclient.methods combined with the appropriate lib included in the binding.
@hilbrand
I was tying to use the above snipped, but Eclipse is (obviously) not liking the unset logic due to the notNullbydefault… Should we just ignore this unsetHttpClientFactory one **Bug** : Store of null value into field MiIoHandlerFactory.httpClient annotated @Nonnull in org.openhab.binding.miio.internal.MiIoHandlerFactory.unsetHttpClientFactory(HttpClientFactory)
Developing my first binding and my device needs a PATCH, but it seems that org.eclipse.smarthome.io.net.http (or at least my version of it??) doesn’t support PATCH.
I searched through the currently being developed HTTP binding 2.x and it also uses org.eclipse.jetty.http.HttpMethod which doesn’t support PATCH. It’s also indicated in the description in the config: