title: How to list HDFS directory contents using webhdfs?
body: <p>Is it possible to check to contents of a directory in HDFS using <code>webhdfs</code>?</p>
  
  <p>This would work as <code>hdfs dfs -ls</code> normally would, but instead using <code>webhdfs</code>.</p>
  
  <p>How do I list a <code>webhdfs</code> directory using Python 2.6 to do so?</p>