]> gitweb.ps.run Git - ps-cgit/commit
blob: use cgit_print_error_page() to add HTTP headers
authorJohn Keeping <john@keeping.me.uk>
Fri, 14 Aug 2015 11:47:06 +0000 (12:47 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 14 Aug 2015 13:46:51 +0000 (15:46 +0200)
commit9a06211daacd2fff14c6211bfc8bad856694f0f9
tree78a39c30881353cefae597dc26861eb075a498ad
parent048f195eaf2fedb56987f0c8c89b9fd46375aa87
blob: use cgit_print_error_page() to add HTTP headers

This is a bugfix as well as an improvement to the HTTP status code
handling since previously we would not print HTTP headers on any of
these code paths.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-blob.c