title: Handling error response to empty webpage from read_html
body: <p>Trying to scrape a web page title but running into a problem with a website called "tweg.com"</p>
  
  <pre><code>library(httr)
  library(rvest)
  page.url &lt;- "tweg.com"
  page.get &lt;- GET(page.url) # from httr
  pg &lt;- read_html(page.get) # from rvest
  page.title &lt;- html_nodes(pg, "title") %&gt;% 
    html_text() # from rvest
  </code></pre>
  
  <p>read_html stops with an error message: "Error: Failed to parse text". 
  Looking into page.get$content, find that it is empty (raw(0)). </p>
  
  <p>Certainly, can write a simple check to take this into account and avoid parsing using read_html. However, feel that a more elegant solution would be to get something back from read_html and then based on it return an empty page title (i.e., ""). Tried passing "options" to read_html, such as RECOVER, NOERROR and NOBLANKS, but no success. Any ideas how to get back "empty page" response from read_html? </p>