webresource client can now automatically decide whether it should use GET or POST depending on the content