Skip to content

Commit

Permalink
#41 puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Feb 15, 2017
1 parent 361ad82 commit 51c7a0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 0pdd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
).to_s
end

# @todo #41:30min Let's add GZIP compression to this output, since
# most XML files are rather big and it would be beneficial to see
# them compressed in the browser.
get '/xml' do
content_type 'text/xml'
storage(params[:name]).load.to_s
Expand Down

0 comments on commit 51c7a0c

Please sign in to comment.