views:

12

answers:

0

CFHTTPMessageSetHeaderFieldValue is silently failing for me on certain parameters without warning or error. The header's value is simply not set.

Header Key:

Authorization

Header Value:

GoogleLogin auth=DQAAAJAAAAAIuG7Ki5ZtvxH9NyZU3NRK5IexJOASkWOnMaH2f42WerL0omocuQycif3ub8AorRnDERJV9An2_Js4hqigOyLzkrV5r6ZSnWn8FbXZQNn37HZjmS0rDGzS1ATy_W1aSaAyBlztNzeVwCx43zVSqSoyIf8zMQcVaHjc88gDMmMPmdDX7V9_J4rGUip6qgzkpco

I can confirm this failure by calling on CFHTTPMessageCopyAllHeaderFields, all my other headers are set except for this one.

Relevant reference is located here: Reference

I can't find much more on this function beyond this reference... just a few scattered tutorials here and there. I can find no documentation anywhere that involves any possibility of failure of any sort.

Has anyone ever encountered any problems with using this API, and are there more detailed documents available somewhere? I can't find anything on Apple's own developer portal.