Here is the rewritten and optimized content in English: "This function retrieves the status code of a given URL. It trims the URL, then fetches the response using specified options such as muting HTTP exceptions and disabling redirects. Finally, it returns the response code.