Hey all, I created an API for my app and all was well until I upgraded
to the latest rack v=1.1.0. This gem's lint.rb class executes the
following code:
## The header must not contain a +Status+ key,
assert("header must not contain Status") { key.downcase !=
"status" }
This causes issues with failed authentications because
authenticated_system.rb appends a Status key to the header hash. My
API tests failed until I commented out:
#authenticated_system.rb
Line 96: headers["Status"] = "Unauthorized"
Any specific reason this key is set when authentication fails?
--
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en.