title: Google Apps Script: UrlFetchApp delivers code 302
body: <p>I need your help with the issue which is bugging me since a couple hours. I part of my code just doesn't want to run for me:</p>
  <pre><code>  var options = {'muteHttpExceptions': true, 'AllowAutoRedirect': true};
    var url = &quot;https://www.auftrag.at//tenders.aspx&quot;
    var firstResponse = UrlFetchApp.fetch(url, options);
    Logger.log(firstResponse.getContentText());
    if(firstResponse.getResponseCode() == 200){....
  </code></pre>
  <p>This always delivers the following response (Code 302):</p>
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;&lt;body&gt;
      &lt;h2&gt;Object moved to &lt;a href=&quot;/tenders.aspx?AspxAutoDetectCookieSupport=1&quot;&gt;here&lt;/a&gt;.&lt;/h2&gt;
      &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  <p>Can you please help me in fixing this? Thank you</p>