config/danbooru_default_config.rb
# The default headers to be sent with outgoing http requests. Some external
# services will fail if you don't set a valid User-Agent.
The default headers to be sent with outgoing http requests. Some external
services will fail if you don't set a valid User-Agent.
The default headers to be sent with outgoing http requests . Some external services will fail if you don ' t set a valid User - Agent .
def http_headers
      {
        "User-Agent" => "#{Danbooru.config.canonical_app_name}/#{Rails.application.config.x.git_hash}"
      }
    end
def http_headers { "User-Agent" => "#{Danbooru.config.canonical_app_name}/#{Rails.application.config.x.git_hash}" } end
The default headers to be sent with outgoing http requests.
The default headers to be sent with outgoing http requests .