view tests/test-hgwebdir.out @ 5561:22713dce19f6

hgweb: return meaningful HTTP status codes instead of nonsense
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 28 Nov 2007 08:38:42 -0800
parents
children 733b50883f73
line wrap: on
line source

adding a
adding b
adding c
% should give a 404 - file does not exist
404 Not Found


error: Path not found: bork/
% should succeed
200 Script output follows


/a/
/b/

200 Script output follows

a
200 Script output follows

b
% should give a 404 - repo is not published
404 Not Found


error: repository c not found
% should succeed
200 Script output follows


/a/
/b/
/c/

200 Script output follows

a
200 Script output follows

b
200 Script output follows

c