- relicense with a BSD style license
[m6w6/ext-http] / LICENSE
1 Copyright (c) 2004-2005, Michael Wallner <mike@iworks.at>.
2 All rights reserved.
3
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions are met:
6
7 * Redistributions of source code must retain the above copyright notice,
8 this list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above copyright
10 notice, this list of conditions and the following disclaimer in the
11 documentation and/or other materials provided with the distribution.
12
13 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
17 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
24 ===============================================================================
25
26 The date parser in file http_date_api.c is derived from the implementation
27 found in the original libcurl source, licensed under the following conditions:
28
29 Copyright (c) 1996 - 2005, Daniel Stenberg, <daniel@haxx.se>.
30 All rights reserved.
31
32 Permission to use, copy, modify, and distribute this software for any purpose
33 with or without fee is hereby granted, provided that the above copyright
34 notice and this permission notice appear in all copies.
35
36 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
39 NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
40 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
41 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
42 OR OTHER DEALINGS IN THE SOFTWARE.
43
44 Except as contained in this notice, the name of a copyright holder shall not
45 be used in advertising or otherwise to promote the sale, use or other dealings
46 in this Software without prior written authorization of the copyright holder.
47
48 ===============================================================================
49
50 The hash urlencoder in file http_url_api.c is derived from the implementation
51 found in the original PHP source, licensed under the following conditions:
52
53 Copyright (c) 1999 - 2005 The PHP Group.
54 All rights reserved.
55
56 Redistribution and use in source and binary forms, with or without
57 modification, is permitted provided that the following conditions
58 are met:
59
60 1. Redistributions of source code must retain the above copyright
61 notice, this list of conditions and the following disclaimer.
62
63 2. Redistributions in binary form must reproduce the above copyright
64 notice, this list of conditions and the following disclaimer in
65 the documentation and/or other materials provided with the
66 distribution.
67
68 3. The name "PHP" must not be used to endorse or promote products
69 derived from this software without prior written permission. For
70 written permission, please contact group@php.net.
71
72 4. Products derived from this software may not be called "PHP", nor
73 may "PHP" appear in their name, without prior written permission
74 from group@php.net. You may indicate that your software works in
75 conjunction with PHP by saying "Foo for PHP" instead of calling
76 it "PHP Foo" or "phpfoo"
77
78 5. The PHP Group may publish revised and/or new versions of the
79 license from time to time. Each version will be given a
80 distinguishing version number.
81 Once covered code has been published under a particular version
82 of the license, you may always continue to use it under the terms
83 of that version. You may also choose to use such covered code
84 under the terms of any subsequent version of the license
85 published by the PHP Group. No one other than the PHP Group has
86 the right to modify the terms applicable to covered code created
87 under this License.
88
89 6. Redistributions of any form whatsoever must retain the following
90 acknowledgment:
91 "This product includes PHP, freely available from
92 <http://www.php.net/>".
93
94 THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
95 ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
96 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
97 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
98 DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
99 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
100 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
101 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
102 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
103 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
104 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
105 OF THE POSSIBILITY OF SUCH DAMAGE.
106