title: Is it possible to get HTML text from webpage use requests?
body: <p>Is it possible to get HTML text from webpage use requests?</p>
  
  <pre class="lang-python prettyprint-override"><code>import requests
  
  headers = {
      'Accept':
      'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
      'Accept-Encoding':
      'gzip, deflate, br',
      'Accept-Language':
      'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7,uk;q=0.6',
      'Connection':
      'keep-alive',
      'DNT':
      '1',
      'Host':
      'labor.ny.gov',
      'Upgrade-Insecure-Requests':
      '1',
      'User-Agent':
      "Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
  }
  
  params = {'warnYr': '2018'}
  
  s = requests.Session()
  
  s.get(
      'https://labor.ny.gov/app/warn/default.asp?warnYr=2018',
      headers=headers,
      params=params)
  </code></pre>
  
  <p>It is don't work</p>
  
  <pre class="lang-none prettyprint-override"><code>raise ConnectionError(err, request=request)
  requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0, 'Error'))      
  </code></pre>
  
  <p>If requests.get - don't work too.<br>
  Maybe it is impossible to get HTML from this webpage?<br>
  If it is impossible, why?</p>