benmanns/cleverbot — pull request #3 by bartoszkopinski (2013-09-10 20:38:50+00:00)
Title: Add accept-encoding header

This fixes 403 Forbidden responses for me.
```ruby
{"message"=>"",
"sessionid"=>"\n

403 Forbidden

",
"logurl"=>"\n

",
"vText8"=>"\n

403 Forbidden

",
"vText7"=>"\n

nginx/0.7.67",
"vText6"=>"\n

",
"vText5"=>"\n",
"vText4"=>"\n",
"vText3"=>nil,
"vText2"=>nil,
"prevref"=>nil,
nil=>nil,
"emotionalhistory"=>nil,
"ttsLocMP3"=>nil,
"ttsLocTXT"=>nil,
"ttsLocTXT3"=>nil,
"ttsText"=>nil,
"lineref"=>nil,
"lineURL"=>nil,
"linePOST"=>nil,
"lineChoices"=>nil,
"lineChoicesAbbrev"=>nil,
"typingData"=>nil,
"divert"=>nil}
```