add httparty option config

This commit is contained in:
r888888888
2017-07-12 15:52:09 -07:00
parent 7f4d3052b3
commit 97ce9cafac
17 changed files with 22 additions and 22 deletions

View File

@@ -417,10 +417,10 @@ module Danbooru
false
end
# for outgoing http requests, use these proxy settings:
def http_proxy_settings
def httparty_options
# proxy example:
# {http_proxyaddr: "", http_proxyport: "", http_proxyuser: nil, http_proxypass: nil}
nil
{}
end
# you should override this