Set the Content-Type properly

[?]
Aug 1, 2012, 6:00 PM
NHBGHO57YPZXFHGZEMGIYU2LODNPWBAGSJEOCCVRQXEE24FVTOGQC

Dependencies

  • [2] ZE23JEJT Add a binary-cache-url file to channels to advertise the binary cache URL
  • [3] MVB7RRLT * Move NARs from the NixChannel controller to the Root controller and
  • [4] HXBXDEFK Speed up channel processing
  • [5] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [6] XE6HD7BP Provide the nix-cache-info file required by the binary cache substituter
  • [*] 5NO7NCKT * Refactoring.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/lib/Hydra/Base/Controller/NixChannel.pm at line 92
    [2.163][2.163:211]()
    $c->header('Content-Type' => 'text/plain');
    [2.163]
    [2.211]
    $c->response->content_type('text/plain');
  • replacement in src/lib/Hydra/Controller/Root.pm at line 201
    [3.101][2.251:299]()
    $c->header('Content-Type' => 'text/plain');
    [3.101]
    [3.101]
    $c->response->content_type('text/plain');