so many staging requests for images, need to cut the noise
This commit is contained in:
parent
65dad2530d
commit
0ed4558e3a
|
@ -12,7 +12,7 @@ class Travis::Api::App
|
||||||
TOKEN = /[^#{SEPARATORS}]+/
|
TOKEN = /[^#{SEPARATORS}]+/
|
||||||
attr_reader :type, :subtype, :quality, :version, :params
|
attr_reader :type, :subtype, :quality, :version, :params
|
||||||
def initialize(accept_string)
|
def initialize(accept_string)
|
||||||
puts "DEBUG: Accept String: #{accept_string.inspect}"
|
puts "DEBUG: Accept String: #{accept_string.inspect}" unless accept_string == "image/png" || accept_string == "*/*"
|
||||||
@type, @subtype, @quality, @version, @params = parse(accept_string)
|
@type, @subtype, @quality, @version, @params = parse(accept_string)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user