AFNetworking/AFNetworking — pull request #335 by jerryhjones (2012-05-14 15:56:53+00:00)
Title: Adds flexibility to the "Authorization: token..." header.

I'm not 100% sure if there's a "proper" way to format this header, but I ran into a situation where the formatting applied by AFNetwork didn't work with my service, as it expected "Authorization: token [token]".

This thread (https://github.com/technoweenie/faraday/issues/127) suggests that the standard is loosely defined, so I've added mechanism for supporting multiple token formats.

Now supports the following
"Authorization: token token=\"xxx\""
"Authorization: token xxx"