Works perfect and I am noticing the expected flow:
The server receives REQ, returns 401
our iOS client library is reacting on the challenge and sends the request with the proper credentials.
Push Server accepts "proper" request, and delivers Push Notification to the cloud (here APNs)
got a Push Message to my device with this.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I tried Christos' test case for the challenge, on my "WWW-Authenticate" branch, using this "unit test":
https://gist.github.com/cvasilak/3f64c3c806b0af11fef6
Works perfect and I am noticing the expected flow: