equal
deleted
inserted
replaced
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 or any later version. |
7 # GNU General Public License version 2 or any later version. |
8 |
8 |
|
9 from __future__ import absolute_import |
|
10 |
9 import BaseHTTPServer |
11 import BaseHTTPServer |
10 import errno, mimetypes, os |
12 import errno |
|
13 import mimetypes |
|
14 import os |
11 |
15 |
12 HTTP_OK = 200 |
16 HTTP_OK = 200 |
13 HTTP_NOT_MODIFIED = 304 |
17 HTTP_NOT_MODIFIED = 304 |
14 HTTP_BAD_REQUEST = 400 |
18 HTTP_BAD_REQUEST = 400 |
15 HTTP_UNAUTHORIZED = 401 |
19 HTTP_UNAUTHORIZED = 401 |