Here is the rewritten content in English:
To retrieve the status code of a given URL, use the following function:
```javascript
function getStatusCode(url){
var options = {
'muteHttpExceptions': true,
'followRedirects': false,
};
var url_trimmed = url.trim();
var response = UrlFetchApp.fetch(url_trimmed, options);
return response.getResponseCode();
}
```
To retrieve the status code of a given URL, use the following function:
```javascript
function getStatusCode(url){
var options = {
'muteHttpExceptions': true,
'followRedirects': false,
};
var url_trimmed = url.trim();
var response = UrlFetchApp.fetch(url_trimmed, options);
return response.getResponseCode();
}
```