New upstream snapshot.
Debian Janitor
1 year, 3 months ago
0 | |
|
1 | |
# HTTP-TINY-MULTIPART CONTRIBUTORS #
|
2 | |
|
3 | |
This is the (likely incomplete) list of people who have helped
|
4 | |
make this distribution what it is, either via code contributions,
|
5 | |
patches, bug reports, help with troubleshooting, etc. A huge
|
6 | |
'thank you' to all of them.
|
7 | |
|
8 | |
* Aran Deltac
|
9 | |
* Mark Glines
|
10 | |
* Mohammad S Anwar
|
11 | |
* Renee Baecker
|
12 | |
* reneeb
|
13 | |
* Renee
|
14 | |
* Stephen Thirlwall
|
15 | |
|
16 | |
|
0 | |
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010.
|
1 | |
CONTRIBUTORS
|
|
0 |
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025.
|
2 | 1 |
Changes
|
3 | 2 |
LICENSE
|
4 | 3 |
MANIFEST
|
5 | 4 |
META.json
|
6 | 5 |
META.yml
|
7 | 6 |
Makefile.PL
|
|
7 |
README
|
8 | 8 |
dist.ini
|
9 | 9 |
lib/HTTP/Tiny/Multipart.pm
|
10 | 10 |
t/01_base.t
|
3 | 3 |
"Renee Baecker <reneeb@cpan.org>"
|
4 | 4 |
],
|
5 | 5 |
"dynamic_config" : 0,
|
6 | |
"generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005",
|
|
6 |
"generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
|
7 | 7 |
"license" : [
|
8 | 8 |
"artistic_2"
|
9 | 9 |
],
|
|
53 | 53 |
}
|
54 | 54 |
},
|
55 | 55 |
"version" : "0.08",
|
56 | |
"x_contributors" : [
|
57 | |
"Aran Deltac <bluefeet@gmail.com>",
|
58 | |
"Mark Glines <mark@glines.org>",
|
59 | |
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
|
60 | |
"Renee Baecker <github@renee-baecker.de>",
|
61 | |
"reneeb <info@perl-services.de>",
|
62 | |
"Renee <reb@perl-services.de>",
|
63 | |
"Stephen Thirlwall <sdt@dr.com>"
|
64 | |
],
|
65 | |
"x_serialization_backend" : "Cpanel::JSON::XS version 4.02"
|
|
56 |
"x_generated_by_perl" : "v5.36.0",
|
|
57 |
"x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
|
|
58 |
"x_spdx_expression" : "Artistic-2.0"
|
66 | 59 |
}
|
67 | 60 |
|
5 | 5 |
configure_requires:
|
6 | 6 |
ExtUtils::MakeMaker: '0'
|
7 | 7 |
dynamic_config: 0
|
8 | |
generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005'
|
|
8 |
generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
|
9 | 9 |
license: artistic_2
|
10 | 10 |
meta-spec:
|
11 | 11 |
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
|
25 | 25 |
homepage: http://github.com/reneeb/HTTP-Tiny-Multipart
|
26 | 26 |
repository: http://github.com/reneeb/HTTP-Tiny-Multipart.git
|
27 | 27 |
version: '0.08'
|
28 | |
x_contributors:
|
29 | |
- 'Aran Deltac <bluefeet@gmail.com>'
|
30 | |
- 'Mark Glines <mark@glines.org>'
|
31 | |
- 'Mohammad S Anwar <mohammad.anwar@yahoo.com>'
|
32 | |
- 'Renee Baecker <github@renee-baecker.de>'
|
33 | |
- 'reneeb <info@perl-services.de>'
|
34 | |
- 'Renee <reb@perl-services.de>'
|
35 | |
- 'Stephen Thirlwall <sdt@dr.com>'
|
36 | |
x_serialization_backend: 'YAML::Tiny version 1.69'
|
|
28 |
x_generated_by_perl: v5.36.0
|
|
29 |
x_serialization_backend: 'YAML::Tiny version 1.73'
|
|
30 |
x_spdx_expression: Artistic-2.0
|
0 | |
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010.
|
|
0 |
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.025.
|
1 | 1 |
use strict;
|
2 | 2 |
use warnings;
|
3 | 3 |
|
|
0 |
NAME
|
|
1 |
|
|
2 |
HTTP::Tiny::Multipart - Add post_multipart to HTTP::Tiny
|
|
3 |
|
|
4 |
VERSION
|
|
5 |
|
|
6 |
version 0.08
|
|
7 |
|
|
8 |
SYNOPSIS
|
|
9 |
|
|
10 |
use HTTP::Tiny;
|
|
11 |
use HTTP::Tiny::Multipart;
|
|
12 |
|
|
13 |
my $http = HTTP::Tiny->new;
|
|
14 |
|
|
15 |
my $content = "This is a test";
|
|
16 |
|
|
17 |
my $response = $http->post_multipart( 'http://localhost:3000/', {
|
|
18 |
file => {
|
|
19 |
filename => 'test.txt',
|
|
20 |
content => $content,
|
|
21 |
}
|
|
22 |
} );
|
|
23 |
|
|
24 |
creates this request
|
|
25 |
|
|
26 |
POST / HTTP/1.1
|
|
27 |
Content-Length: 104
|
|
28 |
User-Agent: HTTP-Tiny/0.025
|
|
29 |
Content-Type: multipart/form-data; boundary=go7DX
|
|
30 |
Connection: close
|
|
31 |
Host: localhost:3000
|
|
32 |
|
|
33 |
--go7DX
|
|
34 |
Content-Disposition: form-data; name="file"; filename="test.txt"
|
|
35 |
|
|
36 |
This is a test
|
|
37 |
--go7DX--
|
|
38 |
|
|
39 |
And
|
|
40 |
|
|
41 |
use HTTP::Tiny;
|
|
42 |
use HTTP::Tiny::Multipart;
|
|
43 |
|
|
44 |
my $http = HTTP::Tiny->new;
|
|
45 |
|
|
46 |
my $content = "This is a test";
|
|
47 |
|
|
48 |
my $response = $http->post_multipart( 'http://localhost:3000/', {
|
|
49 |
file => {
|
|
50 |
filename => 'test.txt',
|
|
51 |
content => $content,
|
|
52 |
content_type => 'text/plain',
|
|
53 |
},
|
|
54 |
testfield => 'test'
|
|
55 |
} );
|
|
56 |
|
|
57 |
creates
|
|
58 |
|
|
59 |
POST / HTTP/1.1
|
|
60 |
Content-Length: 104
|
|
61 |
User-Agent: HTTP-Tiny/0.025
|
|
62 |
Content-Type: multipart/form-data; boundary=go7DX
|
|
63 |
Connection: close
|
|
64 |
Host: localhost:3000
|
|
65 |
|
|
66 |
--go7DX
|
|
67 |
Content-Disposition: form-data; name="file"; filename="test.txt"
|
|
68 |
Content-Type: text/plain
|
|
69 |
|
|
70 |
This is a test
|
|
71 |
--go7DX
|
|
72 |
Content-Disposition: form-data; name="testfield"
|
|
73 |
|
|
74 |
test
|
|
75 |
--go7DX--
|
|
76 |
|
|
77 |
CONTRIBUTORS
|
|
78 |
|
|
79 |
* Stephen Thirlwall
|
|
80 |
|
|
81 |
* Markvy
|
|
82 |
|
|
83 |
* Infinoid
|
|
84 |
|
|
85 |
* Mohammad S Anwar
|
|
86 |
|
|
87 |
AUTHOR
|
|
88 |
|
|
89 |
Renee Baecker <reneeb@cpan.org>
|
|
90 |
|
|
91 |
COPYRIGHT AND LICENSE
|
|
92 |
|
|
93 |
This software is Copyright (c) 2018 by Renee Baecker.
|
|
94 |
|
|
95 |
This is free software, licensed under:
|
|
96 |
|
|
97 |
The Artistic License 2.0 (GPL Compatible)
|
|
98 |
|
|
0 |
libhttp-tiny-multipart-perl (0.08+git20180501.1.3fdc709-1) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* New upstream snapshot.
|
|
3 |
|
|
4 |
-- Debian Janitor <janitor@jelmer.uk> Fri, 20 Jan 2023 01:40:11 -0000
|
|
5 |
|
0 | 6 |
libhttp-tiny-multipart-perl (0.08-2) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
[ gregor herrmann ]
|
22 | 22 |
[MetaProvides::Package]
|
23 | 23 |
|
24 | 24 |
[ReadmeAnyFromPod / MarkdownInRoot]
|
|
25 |
phase = build
|
|
26 |
|
|
27 |
[ReadmeAnyFromPod / TextInBuild]
|
25 | 28 |
phase = build
|
26 | 29 |
|
27 | 30 |
[GitHubREADME::Badge]
|