Package Honey :: Package Fakes :: Package HTTP :: Module apache1
[show private | hide private]
[frames | no frames]

Module Honey.Fakes.HTTP.apache1

Variable Summary
dict MAP_ERROR
str NOT_FOUND
str NOT_IMPLEMENTED

Variable Details

MAP_ERROR

Type:
dict
Value:
{404: 'HTTP/1.1 404 Not Found\nDate: %(time)s\nServer: %(version)s\nCo\
nnection: close\nContent-Type: text/html; charset=iso-8859-1\n\n<!DOCT\
YPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<HTML><HEAD>\n<TITLE>404\
 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\nThe requested U\
RL %(url)s was not found on this server.<P>\n</BODY></HTML>',
 501: 'HTTP/1.1 501 Method Not Implemented\nDate: %(time)s\nServer: %(\
version)s\nAllow: %(methods)s\nConnection: close\nContent-Type: text/h\
tml; charset=iso-8859-1\n\n<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.\
...                                                                    

NOT_FOUND

Type:
str
Value:
'''HTTP/1.1 404 Not Found
Date: %(time)s
Server: %(version)s
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
...                                                                    

NOT_IMPLEMENTED

Type:
str
Value:
'''HTTP/1.1 501 Method Not Implemented
Date: %(time)s
Server: %(version)s
Allow: %(methods)s
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
...                                                                    

Generated by Epydoc 1.1 on Sun Dec 7 16:05:59 2003 http://epydoc.sf.net