Solved bug with https (content-type required when checking writable).Now working checks hdfs and httpfs with insecures clusters