ActiveResource and HTTP Basic Auth url encoding

I'm using an email address for HTTP Basic auth username.

Correct me if I'm wrong, but shouldn't active resource handle this url encoding?

class ARModel < ActiveResource::Base = "" end

The literal string '' gets passed to rails and authorization subsequently fails.

Generally, wouldn't it be smart for Active Resource to support url encoding?

Firefox and safari handle this fine.