Permalink
Browse files

Merge pull request #3 from bartoszkopinski/master

Add accept-encoding header - fixing "403 Forbidden"
  • Loading branch information...
2 parents 4672314 + e79b75d commit 390eeb1e3a78a28e95848b3ca7f5df73a266b4c1 @benmanns committed Sep 10, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cleverbot/client.rb
View
@@ -38,6 +38,7 @@ class Client
base_uri 'http://www.cleverbot.com'
parser Parser
+ headers 'Accept-Encoding' => 'gzip'
# Holds the parameters for an instantiated Client.
attr_reader :params

0 comments on commit 390eeb1

Please sign in to comment.