back to dev
[m6w6/ext-http] / tests / data / message_r_multipart_put.txt
1 PUT /docs/ HTTP/1.1
2 User-Agent: curl/7.24.0 (x86_64-unknown-linux-gnu) libcurl/7.24.0 OpenSSL/1.0.0g zlib/1.2.6 libssh2/1.3.0
3 Host: drop
4 Accept: */*
5 Content-Length: 2284
6 Expect: 100-continue
7 Content-Type: multipart/form-data; boundary=----------------------------6e182425881c
8
9 ------------------------------6e182425881c
10 Content-Disposition: form-data; name="LICENSE"; filename="LICENSE"
11 Content-Type: application/octet-stream
12
13 Copyright (c) 2011-2012, Michael Wallner <mike@iworks.at>.
14 All rights reserved.
15
16 Redistribution and use in source and binary forms, with or without
17 modification, are permitted provided that the following conditions are met:
18
19 * Redistributions of source code must retain the above copyright notice,
20 this list of conditions and the following disclaimer.
21 * Redistributions in binary form must reproduce the above copyright
22 notice, this list of conditions and the following disclaimer in the
23 documentation and/or other materials provided with the distribution.
24
25 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
29 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
36
37 ------------------------------6e182425881c
38 Content-Disposition: form-data; name="composer"; filename="composer.json"
39 Content-Type: application/octet-stream
40
41 {
42 "name": "mike_php_net/autocracy",
43 "type": "library",
44 "description": "http\\Controller preserves your autocracy",
45 "keywords": ["http", "controller", "pecl", "pecl_http"],
46 "homepage": "http://github.com/mike-php-net/autocracy",
47 "license": "BSD-2",
48 "authors": [
49 {
50 "name": "Michael Wallner",
51 "email": "mike@php.net"
52 }
53 ],
54 "require": {
55 "php": ">=5.4.0",
56 "pecl/pecl_http": "2.*"
57 },
58 "autoload": {
59 "psr-0": {
60 "http\\Controller": "lib"
61 }
62 }
63 }
64
65 ------------------------------6e182425881c--