1.1 --- a/WebStack/Adapters/BaseHTTPRequestHandler.py Sat Jul 16 20:33:25 2005 +0000 1.2 +++ b/WebStack/Adapters/BaseHTTPRequestHandler.py Sat Jul 16 21:06:20 2005 +0000 1.3 @@ -2,6 +2,22 @@ 1.4 1.5 """ 1.6 BaseHTTPRequestHandler adapter. 1.7 + 1.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 1.9 + 1.10 +This library is free software; you can redistribute it and/or 1.11 +modify it under the terms of the GNU Lesser General Public 1.12 +License as published by the Free Software Foundation; either 1.13 +version 2.1 of the License, or (at your option) any later version. 1.14 + 1.15 +This library is distributed in the hope that it will be useful, 1.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 1.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1.18 +Lesser General Public License for more details. 1.19 + 1.20 +You should have received a copy of the GNU Lesser General Public 1.21 +License along with this library; if not, write to the Free Software 1.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1.23 """ 1.24 1.25 import WebStack.BaseHTTPRequestHandler
2.1 --- a/WebStack/Adapters/CGI.py Sat Jul 16 20:33:25 2005 +0000 2.2 +++ b/WebStack/Adapters/CGI.py Sat Jul 16 21:06:20 2005 +0000 2.3 @@ -2,6 +2,22 @@ 2.4 2.5 """ 2.6 CGI adapter. 2.7 + 2.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 2.9 + 2.10 +This library is free software; you can redistribute it and/or 2.11 +modify it under the terms of the GNU Lesser General Public 2.12 +License as published by the Free Software Foundation; either 2.13 +version 2.1 of the License, or (at your option) any later version. 2.14 + 2.15 +This library is distributed in the hope that it will be useful, 2.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 2.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2.18 +Lesser General Public License for more details. 2.19 + 2.20 +You should have received a copy of the GNU Lesser General Public 2.21 +License along with this library; if not, write to the Free Software 2.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 2.23 """ 2.24 2.25 import WebStack.CGI
3.1 --- a/WebStack/Adapters/JavaServlet.py Sat Jul 16 20:33:25 2005 +0000 3.2 +++ b/WebStack/Adapters/JavaServlet.py Sat Jul 16 21:06:20 2005 +0000 3.3 @@ -2,6 +2,22 @@ 3.4 3.5 """ 3.6 Java Servlet adapter. 3.7 + 3.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 3.9 + 3.10 +This library is free software; you can redistribute it and/or 3.11 +modify it under the terms of the GNU Lesser General Public 3.12 +License as published by the Free Software Foundation; either 3.13 +version 2.1 of the License, or (at your option) any later version. 3.14 + 3.15 +This library is distributed in the hope that it will be useful, 3.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 3.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 3.18 +Lesser General Public License for more details. 3.19 + 3.20 +You should have received a copy of the GNU Lesser General Public 3.21 +License along with this library; if not, write to the Free Software 3.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3.23 """ 3.24 3.25 import WebStack.JavaServlet
4.1 --- a/WebStack/Adapters/ModPython.py Sat Jul 16 20:33:25 2005 +0000 4.2 +++ b/WebStack/Adapters/ModPython.py Sat Jul 16 21:06:20 2005 +0000 4.3 @@ -2,6 +2,22 @@ 4.4 4.5 """ 4.6 mod_python adapter. 4.7 + 4.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 4.9 + 4.10 +This library is free software; you can redistribute it and/or 4.11 +modify it under the terms of the GNU Lesser General Public 4.12 +License as published by the Free Software Foundation; either 4.13 +version 2.1 of the License, or (at your option) any later version. 4.14 + 4.15 +This library is distributed in the hope that it will be useful, 4.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 4.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 4.18 +Lesser General Public License for more details. 4.19 + 4.20 +You should have received a copy of the GNU Lesser General Public 4.21 +License along with this library; if not, write to the Free Software 4.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 4.23 """ 4.24 4.25 import WebStack.ModPython
5.1 --- a/WebStack/Adapters/Twisted.py Sat Jul 16 20:33:25 2005 +0000 5.2 +++ b/WebStack/Adapters/Twisted.py Sat Jul 16 21:06:20 2005 +0000 5.3 @@ -2,6 +2,22 @@ 5.4 5.5 """ 5.6 Twisted adapter. 5.7 + 5.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 5.9 + 5.10 +This library is free software; you can redistribute it and/or 5.11 +modify it under the terms of the GNU Lesser General Public 5.12 +License as published by the Free Software Foundation; either 5.13 +version 2.1 of the License, or (at your option) any later version. 5.14 + 5.15 +This library is distributed in the hope that it will be useful, 5.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 5.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 5.18 +Lesser General Public License for more details. 5.19 + 5.20 +You should have received a copy of the GNU Lesser General Public 5.21 +License along with this library; if not, write to the Free Software 5.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5.23 """ 5.24 5.25 import WebStack.Twisted
6.1 --- a/WebStack/Adapters/WSGI.py Sat Jul 16 20:33:25 2005 +0000 6.2 +++ b/WebStack/Adapters/WSGI.py Sat Jul 16 21:06:20 2005 +0000 6.3 @@ -2,6 +2,22 @@ 6.4 6.5 """ 6.6 WSGI adapter. 6.7 + 6.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 6.9 + 6.10 +This library is free software; you can redistribute it and/or 6.11 +modify it under the terms of the GNU Lesser General Public 6.12 +License as published by the Free Software Foundation; either 6.13 +version 2.1 of the License, or (at your option) any later version. 6.14 + 6.15 +This library is distributed in the hope that it will be useful, 6.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 6.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 6.18 +Lesser General Public License for more details. 6.19 + 6.20 +You should have received a copy of the GNU Lesser General Public 6.21 +License along with this library; if not, write to the Free Software 6.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6.23 """ 6.24 6.25 import WebStack.WSGI
7.1 --- a/WebStack/Adapters/Webware.py Sat Jul 16 20:33:25 2005 +0000 7.2 +++ b/WebStack/Adapters/Webware.py Sat Jul 16 21:06:20 2005 +0000 7.3 @@ -2,6 +2,22 @@ 7.4 7.5 """ 7.6 Webware adapter. 7.7 + 7.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 7.9 + 7.10 +This library is free software; you can redistribute it and/or 7.11 +modify it under the terms of the GNU Lesser General Public 7.12 +License as published by the Free Software Foundation; either 7.13 +version 2.1 of the License, or (at your option) any later version. 7.14 + 7.15 +This library is distributed in the hope that it will be useful, 7.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 7.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7.18 +Lesser General Public License for more details. 7.19 + 7.20 +You should have received a copy of the GNU Lesser General Public 7.21 +License along with this library; if not, write to the Free Software 7.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 7.23 """ 7.24 7.25 import WebStack.Webware
8.1 --- a/WebStack/Adapters/Zope.py Sat Jul 16 20:33:25 2005 +0000 8.2 +++ b/WebStack/Adapters/Zope.py Sat Jul 16 21:06:20 2005 +0000 8.3 @@ -2,6 +2,22 @@ 8.4 8.5 """ 8.6 Zope adapter. 8.7 + 8.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 8.9 + 8.10 +This library is free software; you can redistribute it and/or 8.11 +modify it under the terms of the GNU Lesser General Public 8.12 +License as published by the Free Software Foundation; either 8.13 +version 2.1 of the License, or (at your option) any later version. 8.14 + 8.15 +This library is distributed in the hope that it will be useful, 8.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 8.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 8.18 +Lesser General Public License for more details. 8.19 + 8.20 +You should have received a copy of the GNU Lesser General Public 8.21 +License along with this library; if not, write to the Free Software 8.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 8.23 """ 8.24 8.25 import WebStack.Zope
9.1 --- a/WebStack/Adapters/__init__.py Sat Jul 16 20:33:25 2005 +0000 9.2 +++ b/WebStack/Adapters/__init__.py Sat Jul 16 21:06:20 2005 +0000 9.3 @@ -0,0 +1,23 @@ 9.4 +#!/usr/bin/env python 9.5 + 9.6 +""" 9.7 +WebStack adapter classes. 9.8 + 9.9 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 9.10 + 9.11 +This library is free software; you can redistribute it and/or 9.12 +modify it under the terms of the GNU Lesser General Public 9.13 +License as published by the Free Software Foundation; either 9.14 +version 2.1 of the License, or (at your option) any later version. 9.15 + 9.16 +This library is distributed in the hope that it will be useful, 9.17 +but WITHOUT ANY WARRANTY; without even the implied warranty of 9.18 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 9.19 +Lesser General Public License for more details. 9.20 + 9.21 +You should have received a copy of the GNU Lesser General Public 9.22 +License along with this library; if not, write to the Free Software 9.23 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 9.24 +""" 9.25 + 9.26 +# vim: tabstop=4 expandtab shiftwidth=4
10.1 --- a/WebStack/BaseHTTPRequestHandler.py Sat Jul 16 20:33:25 2005 +0000 10.2 +++ b/WebStack/BaseHTTPRequestHandler.py Sat Jul 16 21:06:20 2005 +0000 10.3 @@ -2,6 +2,22 @@ 10.4 10.5 """ 10.6 BaseHTTPRequestHandler classes. 10.7 + 10.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 10.9 + 10.10 +This library is free software; you can redistribute it and/or 10.11 +modify it under the terms of the GNU Lesser General Public 10.12 +License as published by the Free Software Foundation; either 10.13 +version 2.1 of the License, or (at your option) any later version. 10.14 + 10.15 +This library is distributed in the hope that it will be useful, 10.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 10.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10.18 +Lesser General Public License for more details. 10.19 + 10.20 +You should have received a copy of the GNU Lesser General Public 10.21 +License along with this library; if not, write to the Free Software 10.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 10.23 """ 10.24 10.25 import Generic
11.1 --- a/WebStack/CGI.py Sat Jul 16 20:33:25 2005 +0000 11.2 +++ b/WebStack/CGI.py Sat Jul 16 21:06:20 2005 +0000 11.3 @@ -2,6 +2,22 @@ 11.4 11.5 """ 11.6 CGI classes. 11.7 + 11.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 11.9 + 11.10 +This library is free software; you can redistribute it and/or 11.11 +modify it under the terms of the GNU Lesser General Public 11.12 +License as published by the Free Software Foundation; either 11.13 +version 2.1 of the License, or (at your option) any later version. 11.14 + 11.15 +This library is distributed in the hope that it will be useful, 11.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 11.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11.18 +Lesser General Public License for more details. 11.19 + 11.20 +You should have received a copy of the GNU Lesser General Public 11.21 +License along with this library; if not, write to the Free Software 11.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 11.23 """ 11.24 11.25 import Generic
12.1 --- a/WebStack/Generic.py Sat Jul 16 20:33:25 2005 +0000 12.2 +++ b/WebStack/Generic.py Sat Jul 16 21:06:20 2005 +0000 12.3 @@ -2,6 +2,25 @@ 12.4 12.5 """ 12.6 Generic Web framework interfaces. 12.7 + 12.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 12.9 + 12.10 +This library is free software; you can redistribute it and/or 12.11 +modify it under the terms of the GNU Lesser General Public 12.12 +License as published by the Free Software Foundation; either 12.13 +version 2.1 of the License, or (at your option) any later version. 12.14 + 12.15 +This library is distributed in the hope that it will be useful, 12.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 12.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12.18 +Lesser General Public License for more details. 12.19 + 12.20 +You should have received a copy of the GNU Lesser General Public 12.21 +License along with this library; if not, write to the Free Software 12.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 12.23 + 12.24 +-------- 12.25 + 12.26 The WebStack architecture consists of the following layers: 12.27 12.28 * Framework - The underlying Web framework implementation.
13.1 --- a/WebStack/Helpers/Auth.py Sat Jul 16 20:33:25 2005 +0000 13.2 +++ b/WebStack/Helpers/Auth.py Sat Jul 16 21:06:20 2005 +0000 13.3 @@ -2,6 +2,22 @@ 13.4 13.5 """ 13.6 Authentication/authorisation helper classes and functions. 13.7 + 13.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 13.9 + 13.10 +This library is free software; you can redistribute it and/or 13.11 +modify it under the terms of the GNU Lesser General Public 13.12 +License as published by the Free Software Foundation; either 13.13 +version 2.1 of the License, or (at your option) any later version. 13.14 + 13.15 +This library is distributed in the hope that it will be useful, 13.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 13.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13.18 +Lesser General Public License for more details. 13.19 + 13.20 +You should have received a copy of the GNU Lesser General Public 13.21 +License along with this library; if not, write to the Free Software 13.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 13.23 """ 13.24 13.25 import base64
14.1 --- a/WebStack/Helpers/Environment.py Sat Jul 16 20:33:25 2005 +0000 14.2 +++ b/WebStack/Helpers/Environment.py Sat Jul 16 21:06:20 2005 +0000 14.3 @@ -2,6 +2,22 @@ 14.4 14.5 """ 14.6 Environment helper functions. 14.7 + 14.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 14.9 + 14.10 +This library is free software; you can redistribute it and/or 14.11 +modify it under the terms of the GNU Lesser General Public 14.12 +License as published by the Free Software Foundation; either 14.13 +version 2.1 of the License, or (at your option) any later version. 14.14 + 14.15 +This library is distributed in the hope that it will be useful, 14.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 14.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14.18 +Lesser General Public License for more details. 14.19 + 14.20 +You should have received a copy of the GNU Lesser General Public 14.21 +License along with this library; if not, write to the Free Software 14.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14.23 """ 14.24 14.25 def get_headers(env):
15.1 --- a/WebStack/Helpers/Request.py Sat Jul 16 20:33:25 2005 +0000 15.2 +++ b/WebStack/Helpers/Request.py Sat Jul 16 21:06:20 2005 +0000 15.3 @@ -2,6 +2,22 @@ 15.4 15.5 """ 15.6 Request helper classes. 15.7 + 15.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 15.9 + 15.10 +This library is free software; you can redistribute it and/or 15.11 +modify it under the terms of the GNU Lesser General Public 15.12 +License as published by the Free Software Foundation; either 15.13 +version 2.1 of the License, or (at your option) any later version. 15.14 + 15.15 +This library is distributed in the hope that it will be useful, 15.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 15.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15.18 +Lesser General Public License for more details. 15.19 + 15.20 +You should have received a copy of the GNU Lesser General Public 15.21 +License along with this library; if not, write to the Free Software 15.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15.23 """ 15.24 15.25 class MessageBodyStream:
16.1 --- a/WebStack/Helpers/Response.py Sat Jul 16 20:33:25 2005 +0000 16.2 +++ b/WebStack/Helpers/Response.py Sat Jul 16 21:06:20 2005 +0000 16.3 @@ -2,6 +2,22 @@ 16.4 16.5 """ 16.6 Response helper classes. 16.7 + 16.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 16.9 + 16.10 +This library is free software; you can redistribute it and/or 16.11 +modify it under the terms of the GNU Lesser General Public 16.12 +License as published by the Free Software Foundation; either 16.13 +version 2.1 of the License, or (at your option) any later version. 16.14 + 16.15 +This library is distributed in the hope that it will be useful, 16.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 16.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16.18 +Lesser General Public License for more details. 16.19 + 16.20 +You should have received a copy of the GNU Lesser General Public 16.21 +License along with this library; if not, write to the Free Software 16.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16.23 """ 16.24 16.25 class ConvertingStream:
17.1 --- a/WebStack/Helpers/Session.py Sat Jul 16 20:33:25 2005 +0000 17.2 +++ b/WebStack/Helpers/Session.py Sat Jul 16 21:06:20 2005 +0000 17.3 @@ -2,6 +2,22 @@ 17.4 17.5 """ 17.6 Session helper functions. 17.7 + 17.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 17.9 + 17.10 +This library is free software; you can redistribute it and/or 17.11 +modify it under the terms of the GNU Lesser General Public 17.12 +License as published by the Free Software Foundation; either 17.13 +version 2.1 of the License, or (at your option) any later version. 17.14 + 17.15 +This library is distributed in the hope that it will be useful, 17.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 17.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17.18 +Lesser General Public License for more details. 17.19 + 17.20 +You should have received a copy of the GNU Lesser General Public 17.21 +License along with this library; if not, write to the Free Software 17.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17.23 """ 17.24 17.25 import shelve
18.1 --- a/WebStack/Helpers/__init__.py Sat Jul 16 20:33:25 2005 +0000 18.2 +++ b/WebStack/Helpers/__init__.py Sat Jul 16 21:06:20 2005 +0000 18.3 @@ -0,0 +1,23 @@ 18.4 +#!/usr/bin/env python 18.5 + 18.6 +""" 18.7 +Helper classes and functions. 18.8 + 18.9 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 18.10 + 18.11 +This library is free software; you can redistribute it and/or 18.12 +modify it under the terms of the GNU Lesser General Public 18.13 +License as published by the Free Software Foundation; either 18.14 +version 2.1 of the License, or (at your option) any later version. 18.15 + 18.16 +This library is distributed in the hope that it will be useful, 18.17 +but WITHOUT ANY WARRANTY; without even the implied warranty of 18.18 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18.19 +Lesser General Public License for more details. 18.20 + 18.21 +You should have received a copy of the GNU Lesser General Public 18.22 +License along with this library; if not, write to the Free Software 18.23 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18.24 +""" 18.25 + 18.26 +# vim: tabstop=4 expandtab shiftwidth=4
19.1 --- a/WebStack/JavaServlet.py Sat Jul 16 20:33:25 2005 +0000 19.2 +++ b/WebStack/JavaServlet.py Sat Jul 16 21:06:20 2005 +0000 19.3 @@ -2,6 +2,22 @@ 19.4 19.5 """ 19.6 Java Servlet classes. 19.7 + 19.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 19.9 + 19.10 +This library is free software; you can redistribute it and/or 19.11 +modify it under the terms of the GNU Lesser General Public 19.12 +License as published by the Free Software Foundation; either 19.13 +version 2.1 of the License, or (at your option) any later version. 19.14 + 19.15 +This library is distributed in the hope that it will be useful, 19.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 19.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19.18 +Lesser General Public License for more details. 19.19 + 19.20 +You should have received a copy of the GNU Lesser General Public 19.21 +License along with this library; if not, write to the Free Software 19.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19.23 """ 19.24 19.25 import Generic
20.1 --- a/WebStack/ModPython.py Sat Jul 16 20:33:25 2005 +0000 20.2 +++ b/WebStack/ModPython.py Sat Jul 16 21:06:20 2005 +0000 20.3 @@ -2,6 +2,22 @@ 20.4 20.5 """ 20.6 mod_python classes. 20.7 + 20.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 20.9 + 20.10 +This library is free software; you can redistribute it and/or 20.11 +modify it under the terms of the GNU Lesser General Public 20.12 +License as published by the Free Software Foundation; either 20.13 +version 2.1 of the License, or (at your option) any later version. 20.14 + 20.15 +This library is distributed in the hope that it will be useful, 20.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 20.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20.18 +Lesser General Public License for more details. 20.19 + 20.20 +You should have received a copy of the GNU Lesser General Public 20.21 +License along with this library; if not, write to the Free Software 20.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20.23 """ 20.24 20.25 import Generic
21.1 --- a/WebStack/Resources/Login.py Sat Jul 16 20:33:25 2005 +0000 21.2 +++ b/WebStack/Resources/Login.py Sat Jul 16 21:06:20 2005 +0000 21.3 @@ -1,6 +1,25 @@ 21.4 #!/usr/bin/env python 21.5 21.6 -"Login resources which redirect clients back to an application after a successful login." 21.7 +""" 21.8 +Login resources which redirect clients back to an application after a successful 21.9 +login. 21.10 + 21.11 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 21.12 + 21.13 +This library is free software; you can redistribute it and/or 21.14 +modify it under the terms of the GNU Lesser General Public 21.15 +License as published by the Free Software Foundation; either 21.16 +version 2.1 of the License, or (at your option) any later version. 21.17 + 21.18 +This library is distributed in the hope that it will be useful, 21.19 +but WITHOUT ANY WARRANTY; without even the implied warranty of 21.20 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21.21 +Lesser General Public License for more details. 21.22 + 21.23 +You should have received a copy of the GNU Lesser General Public 21.24 +License along with this library; if not, write to the Free Software 21.25 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21.26 +""" 21.27 21.28 import WebStack.Generic 21.29 from WebStack.Helpers.Auth import get_token
22.1 --- a/WebStack/Resources/LoginRedirect.py Sat Jul 16 20:33:25 2005 +0000 22.2 +++ b/WebStack/Resources/LoginRedirect.py Sat Jul 16 21:06:20 2005 +0000 22.3 @@ -1,6 +1,25 @@ 22.4 #!/usr/bin/env python 22.5 22.6 -"Login redirection resources, sending unauthenticated users to a login screen URL." 22.7 +""" 22.8 +Login redirection resources, sending unauthenticated users to a login screen 22.9 +URL. 22.10 + 22.11 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 22.12 + 22.13 +This library is free software; you can redistribute it and/or 22.14 +modify it under the terms of the GNU Lesser General Public 22.15 +License as published by the Free Software Foundation; either 22.16 +version 2.1 of the License, or (at your option) any later version. 22.17 + 22.18 +This library is distributed in the hope that it will be useful, 22.19 +but WITHOUT ANY WARRANTY; without even the implied warranty of 22.20 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22.21 +Lesser General Public License for more details. 22.22 + 22.23 +You should have received a copy of the GNU Lesser General Public 22.24 +License along with this library; if not, write to the Free Software 22.25 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22.26 +""" 22.27 22.28 from WebStack.Helpers.Auth import get_token 22.29 import WebStack.Generic
23.1 --- a/WebStack/Resources/ResourceMap.py Sat Jul 16 20:33:25 2005 +0000 23.2 +++ b/WebStack/Resources/ResourceMap.py Sat Jul 16 21:06:20 2005 +0000 23.3 @@ -1,6 +1,24 @@ 23.4 #!/usr/bin/env python 23.5 23.6 -"Mapping from names to resources." 23.7 +""" 23.8 +Mapping from names to resources. 23.9 + 23.10 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 23.11 + 23.12 +This library is free software; you can redistribute it and/or 23.13 +modify it under the terms of the GNU Lesser General Public 23.14 +License as published by the Free Software Foundation; either 23.15 +version 2.1 of the License, or (at your option) any later version. 23.16 + 23.17 +This library is distributed in the hope that it will be useful, 23.18 +but WITHOUT ANY WARRANTY; without even the implied warranty of 23.19 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23.20 +Lesser General Public License for more details. 23.21 + 23.22 +You should have received a copy of the GNU Lesser General Public 23.23 +License along with this library; if not, write to the Free Software 23.24 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23.25 +""" 23.26 23.27 import WebStack.Generic 23.28
24.1 --- a/WebStack/Resources/Static.py Sat Jul 16 20:33:25 2005 +0000 24.2 +++ b/WebStack/Resources/Static.py Sat Jul 16 21:06:20 2005 +0000 24.3 @@ -2,6 +2,22 @@ 24.4 24.5 """ 24.6 Resources for serving static content. 24.7 + 24.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 24.9 + 24.10 +This library is free software; you can redistribute it and/or 24.11 +modify it under the terms of the GNU Lesser General Public 24.12 +License as published by the Free Software Foundation; either 24.13 +version 2.1 of the License, or (at your option) any later version. 24.14 + 24.15 +This library is distributed in the hope that it will be useful, 24.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 24.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24.18 +Lesser General Public License for more details. 24.19 + 24.20 +You should have received a copy of the GNU Lesser General Public 24.21 +License along with this library; if not, write to the Free Software 24.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24.23 """ 24.24 24.25 from WebStack.Generic import ContentType, EndOfResponse
25.1 --- a/WebStack/Resources/__init__.py Sat Jul 16 20:33:25 2005 +0000 25.2 +++ b/WebStack/Resources/__init__.py Sat Jul 16 21:06:20 2005 +0000 25.3 @@ -0,0 +1,23 @@ 25.4 +#!/usr/bin/env python 25.5 + 25.6 +""" 25.7 +Common resources for WebStack applications. 25.8 + 25.9 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 25.10 + 25.11 +This library is free software; you can redistribute it and/or 25.12 +modify it under the terms of the GNU Lesser General Public 25.13 +License as published by the Free Software Foundation; either 25.14 +version 2.1 of the License, or (at your option) any later version. 25.15 + 25.16 +This library is distributed in the hope that it will be useful, 25.17 +but WITHOUT ANY WARRANTY; without even the implied warranty of 25.18 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25.19 +Lesser General Public License for more details. 25.20 + 25.21 +You should have received a copy of the GNU Lesser General Public 25.22 +License along with this library; if not, write to the Free Software 25.23 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25.24 +""" 25.25 + 25.26 +# vim: tabstop=4 expandtab shiftwidth=4
26.1 --- a/WebStack/Twisted.py Sat Jul 16 20:33:25 2005 +0000 26.2 +++ b/WebStack/Twisted.py Sat Jul 16 21:06:20 2005 +0000 26.3 @@ -2,6 +2,22 @@ 26.4 26.5 """ 26.6 Twisted classes. 26.7 + 26.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 26.9 + 26.10 +This library is free software; you can redistribute it and/or 26.11 +modify it under the terms of the GNU Lesser General Public 26.12 +License as published by the Free Software Foundation; either 26.13 +version 2.1 of the License, or (at your option) any later version. 26.14 + 26.15 +This library is distributed in the hope that it will be useful, 26.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 26.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26.18 +Lesser General Public License for more details. 26.19 + 26.20 +You should have received a copy of the GNU Lesser General Public 26.21 +License along with this library; if not, write to the Free Software 26.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26.23 """ 26.24 26.25 import Generic
27.1 --- a/WebStack/WSGI.py Sat Jul 16 20:33:25 2005 +0000 27.2 +++ b/WebStack/WSGI.py Sat Jul 16 21:06:20 2005 +0000 27.3 @@ -2,6 +2,22 @@ 27.4 27.5 """ 27.6 WSGI classes. 27.7 + 27.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 27.9 + 27.10 +This library is free software; you can redistribute it and/or 27.11 +modify it under the terms of the GNU Lesser General Public 27.12 +License as published by the Free Software Foundation; either 27.13 +version 2.1 of the License, or (at your option) any later version. 27.14 + 27.15 +This library is distributed in the hope that it will be useful, 27.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 27.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27.18 +Lesser General Public License for more details. 27.19 + 27.20 +You should have received a copy of the GNU Lesser General Public 27.21 +License along with this library; if not, write to the Free Software 27.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27.23 """ 27.24 27.25 import Generic
28.1 --- a/WebStack/Webware.py Sat Jul 16 20:33:25 2005 +0000 28.2 +++ b/WebStack/Webware.py Sat Jul 16 21:06:20 2005 +0000 28.3 @@ -2,6 +2,22 @@ 28.4 28.5 """ 28.6 Webware classes. 28.7 + 28.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 28.9 + 28.10 +This library is free software; you can redistribute it and/or 28.11 +modify it under the terms of the GNU Lesser General Public 28.12 +License as published by the Free Software Foundation; either 28.13 +version 2.1 of the License, or (at your option) any later version. 28.14 + 28.15 +This library is distributed in the hope that it will be useful, 28.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 28.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 28.18 +Lesser General Public License for more details. 28.19 + 28.20 +You should have received a copy of the GNU Lesser General Public 28.21 +License along with this library; if not, write to the Free Software 28.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 28.23 """ 28.24 28.25 import Generic
29.1 --- a/WebStack/Zope.py Sat Jul 16 20:33:25 2005 +0000 29.2 +++ b/WebStack/Zope.py Sat Jul 16 21:06:20 2005 +0000 29.3 @@ -2,6 +2,25 @@ 29.4 29.5 """ 29.6 Zope classes. 29.7 + 29.8 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 29.9 + 29.10 +This library is free software; you can redistribute it and/or 29.11 +modify it under the terms of the GNU Lesser General Public 29.12 +License as published by the Free Software Foundation; either 29.13 +version 2.1 of the License, or (at your option) any later version. 29.14 + 29.15 +This library is distributed in the hope that it will be useful, 29.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of 29.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 29.18 +Lesser General Public License for more details. 29.19 + 29.20 +You should have received a copy of the GNU Lesser General Public 29.21 +License along with this library; if not, write to the Free Software 29.22 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29.23 + 29.24 +-------- 29.25 + 29.26 In places this resembles CGI a lot because Zope seems to recycle a lot of that 29.27 baggage. 29.28 """
30.1 --- a/WebStack/__init__.py Sat Jul 16 20:33:25 2005 +0000 30.2 +++ b/WebStack/__init__.py Sat Jul 16 21:06:20 2005 +0000 30.3 @@ -1,5 +1,25 @@ 30.4 #!/usr/bin/env python 30.5 30.6 +""" 30.7 +A common API for Python Web applications. 30.8 + 30.9 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk> 30.10 + 30.11 +This library is free software; you can redistribute it and/or 30.12 +modify it under the terms of the GNU Lesser General Public 30.13 +License as published by the Free Software Foundation; either 30.14 +version 2.1 of the License, or (at your option) any later version. 30.15 + 30.16 +This library is distributed in the hope that it will be useful, 30.17 +but WITHOUT ANY WARRANTY; without even the implied warranty of 30.18 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 30.19 +Lesser General Public License for more details. 30.20 + 30.21 +You should have received a copy of the GNU Lesser General Public 30.22 +License along with this library; if not, write to the Free Software 30.23 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30.24 +""" 30.25 + 30.26 __version__ = "0.10" 30.27 30.28 # vim: tabstop=4 expandtab shiftwidth=4