<commit_before># -*- encoding: utf-8 -*-

module Ohrka
  module Feed
    class WebApp
      def call(env)
        channel = Channel.new

        [ 200,
          {
            'Content-Type'  => 'application/rss+xml',
            'Last-Modified' => channel.episodes.first.enclosure.date.rfc2822
          },
          [channel.to_rss]
        ]
      end
    end
  end
end<commit_msg>State encoding in content type<commit_after># -*- encoding: utf-8 -*-

module Ohrka
  module Feed
    class WebApp
      def call(env)
        channel = Channel.new

        [ 200,
          {
            'Content-Type'  => 'application/rss+xml; charset=utf-8',
            'Last-Modified' => channel.episodes.first.enclosure.date.rfc2822
          },
          [channel.to_rss]
        ]
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.11625, 'fraction_numerical': 0.02125, 'mean_word_length': 1.5922330097087378, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7627204', 'n_tokens_mistral': 266, 'n_tokens_neox': 250, 'n_words': 50}