Skip to content

Commit ca7b942

Browse files
committed
Changed license to MIT
1 parent a83dcef commit ca7b942

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 yhirose
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ cpp-httplib
33

44
A C++11 header-only HTTP library.
55

6-
[The Boost Software License 1.0](http://www.boost.org/LICENSE_1_0.txt)
7-
86
It's extremely easy to setup. Just include **httplib.h** file in your code!
97

108
Inspired by [Sinatra](http://www.sinatrarb.com/) and [express](https://github.com/visionmedia/express).
@@ -139,10 +137,10 @@ std::shared_ptr<httplib::Response> res =
139137

140138
This feature was contributed by [underscorediscovery](https://github.com/yhirose/cpp-httplib/pull/23).
141139

142-
### Range (HTTP/1.1)
140+
### Range
143141

144142
```cpp
145-
httplib::Client cli("httpbin.org", 80, httplib::HttpVersion::v1_1);
143+
httplib::Client cli("httpbin.org", 80);
146144

147145
// 'Range: bytes=1-10'
148146
httplib::Headers headers = { httplib::make_range_header(1, 10) };
@@ -165,4 +163,7 @@ SSLServer svr("./cert.pem", "./key.pem");
165163
SSLClient cli("localhost", 8080);
166164
```
167165

168-
Copyright (c) 2017 Yuji Hirose. All rights reserved.
166+
License
167+
-------
168+
169+
MIT license (© 2017 Yuji Hirose)

0 commit comments

Comments
 (0)