<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSHTTPPropertyStatusReasonKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSHTTPPropertyStatusReasonKey"
  },
  "title" : "NSHTTPPropertyStatusReasonKey"
}
-->

# NSHTTPPropertyStatusReasonKey

Key for the remainder of the HTTP status line following the status code, returned as an `NSString` object.

```
extern NSString * const NSHTTPPropertyStatusReasonKey;
```

## Discussion

This string usually contains an explanation of the error in English. Because this string is taken straight from the server response, it’s not localized.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)