Undocumented -[NSHTTPURLResponse allHeaderFields] dictionary behavior

Originator:cedric.luthi
Number:rdar://13715902 Date Originated:23-Apr-2013 03:51 PM
Status:Open Resolved:
Product:OS X SDK Product Version:10.8.3
Classification:Enhancement Reproducible:Not Applicable
 
Summary:
The -[NSHTTPURLResponse allHeaderFields] method returns a NSDictionary which compare its keys in a case insensitive manner. This is great since HTTP headers are case insensitive. But this behavior is not documented, so please document it so that we can safely rely on this behavior.

Steps to Reproduce:
Not Applicable

Expected Results:
Not Applicable

Actual Results:
Not Applicable

Regression:
This applies to the iOS SDK as well.

Notes:
N/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!