Skip to content

Instantly share code, notes, and snippets.

View dreamwords's full-sized avatar

Elan Meng dreamwords

View GitHub Profile
@dreamwords
dreamwords / gist:149518
Created July 18, 2009 11:39
activeresource client certificate
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb
index dc24e71..f814b8b 100644
--- a/activeresource/lib/active_resource/base.rb
+++ b/activeresource/lib/active_resource/base.rb
@@ -102,6 +102,8 @@ module ActiveResource
#
# Many REST APIs will require authentication, usually in the form of basic
# HTTP authentication. Authentication can be specified by:
+ #
+ # === HTTP Basic Authentication