소스 검색

Changed license to MIT

yhirose 8 년 전
부모
커밋
ca7b942196
2개의 변경된 파일28개의 추가작업 그리고 5개의 파일을 삭제
  1. 22 0
      LICENSE
  2. 6 5
      README.md

+ 22 - 0
LICENSE

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

+ 6 - 5
README.md

@@ -3,8 +3,6 @@ cpp-httplib
 
 A C++11 header-only HTTP library.
 
-[The Boost Software License 1.0](http://www.boost.org/LICENSE_1_0.txt)
-
 It's extremely easy to setup. Just include **httplib.h** file in your code!
 
 Inspired by [Sinatra](http://www.sinatrarb.com/) and [express](https://github.com/visionmedia/express).
@@ -139,10 +137,10 @@ std::shared_ptr<httplib::Response> res =
 
 This feature was contributed by [underscorediscovery](https://github.com/yhirose/cpp-httplib/pull/23).
 
-### Range (HTTP/1.1)
+### Range
 
 ```cpp
-httplib::Client cli("httpbin.org", 80, httplib::HttpVersion::v1_1);
+httplib::Client cli("httpbin.org", 80);
 
 // 'Range: bytes=1-10'
 httplib::Headers headers = { httplib::make_range_header(1, 10) };
@@ -165,4 +163,7 @@ SSLServer svr("./cert.pem", "./key.pem");
 SSLClient cli("localhost", 8080);
 ```
 
-Copyright (c) 2017 Yuji Hirose. All rights reserved.
+License
+-------
+
+MIT license (© 2017 Yuji Hirose)