Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
karoltravis committed Feb 2, 2022
1 parent fd282cb commit cdab5fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/travis/api/app/responders/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ def format
end

def set_headers
puts '---------------------------------d---------------------------------------'
puts caller
headers['Pragma'] = "no-cache"
headers['Expires'] = Time.now.utc.httpdate
headers['Content-Disposition'] = %(inline; filename="#{File.basename(filename)}")
Expand Down

0 comments on commit cdab5fd

Please sign in to comment.