Search code examples
iosobjective-chttp-status-codes

Are the HTTP status codes defined anywhere in the iOS SDK?


Does anyone know if/where the HTTP status codes, as specified here, are defined in the iOS SDK? Or should I expect to manually re-define them in a constants file?


Solution

  • I did a

    grep -r '404' *
    

    in

    /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Lib‌​rary/Frameworks/ 
    

    and came up empty handed so the answer is almost certainly "no".