Hmm... I've had lots of problems making rack 1.1.0 and Rails <2.3.5 play
nice. I'd suggest sticking with Rack 1.0.1 or else upgrading to Rails 2.3.8.

On Thu, Jul 22, 2010 at 4:31 PM, galvatron984 <[email protected]> wrote:

> 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]<communityengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/communityengine?hl=en.
>
>

-- 
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.

Reply via email to