Ludovic Courtès
ff6638d112
publish: Handle '/file' URLs, for content-addressed files.
* guix/scripts/publish.scm (render-content-addressed-file): New procedure.
(http-write): Add 'application/octet-stream' case.
(make-request-handler): Add /file/NAME/sha256/HASH URLs.
* tests/publish.scm ("/file/NAME/sha256/HASH")
("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
("/file/NAME/sha256/INVALID-HASH"): New tests.
* doc/guix.texi (Invoking guix publish): Mention the /file URLs.
2016-07-20 16:54:31 +02:00
..
2016-01-29 20:21:54 +03:00
2016-04-16 00:52:19 +02:00
2016-05-10 12:05:53 +03:00
2015-06-29 23:08:36 +02:00
2012-10-13 16:05:01 +02:00
2016-07-20 16:54:31 +02:00
2016-03-30 23:39:47 +02:00
2016-05-24 13:07:19 +02:00
2015-09-14 23:10:58 +02:00