mercurial/hgweb/common.py
changeset 10264 d6512b3e9ac0
parent 10078 97c75ad3b1a0
parent 10263 25e572394f5c
child 12183 f64b416b0ac8
equal deleted inserted replaced
10260:fe699ca08a45 10264:d6512b3e9ac0
     2 #
     2 #
     3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
     3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
     4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
     4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
     5 #
     5 #
     6 # This software may be used and distributed according to the terms of the
     6 # This software may be used and distributed according to the terms of the
     7 # GNU General Public License version 2, incorporated herein by reference.
     7 # GNU General Public License version 2 or any later version.
     8 
     8 
     9 import errno, mimetypes, os
     9 import errno, mimetypes, os
    10 
    10 
    11 HTTP_OK = 200
    11 HTTP_OK = 200
    12 HTTP_BAD_REQUEST = 400
    12 HTTP_BAD_REQUEST = 400