aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTeddy Wing2020-07-04 16:09:52 +0200
committerTeddy Wing2020-07-04 16:09:52 +0200
commit0bbb1cdb1978d0ff0b06a700016640f0642d95d5 (patch)
tree580c47b7bc9f844d5a379bf90485b74427e7e848 /examples
parentcd2f29f13f388fc4a9edfbf9980f096f06198d74 (diff)
downloadfastcgi-conduit-0bbb1cdb1978d0ff0b06a700016640f0642d95d5.tar.bz2
Add license (GNU GPLv3+)
Diffstat (limited to 'examples')
-rw-r--r--examples/server.rs17
-rw-r--r--examples/small.rs17
2 files changed, 34 insertions, 0 deletions
diff --git a/examples/server.rs b/examples/server.rs
index 5204ad2..35a170f 100644
--- a/examples/server.rs
+++ b/examples/server.rs
@@ -1,3 +1,20 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This file is part of FastCGI-Conduit.
+//
+// FastCGI-Conduit is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// FastCGI-Conduit is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with FastCGI-Conduit. If not, see <https://www.gnu.org/licenses/>.
+
extern crate conduit;
extern crate conduit_router;
extern crate http;
diff --git a/examples/small.rs b/examples/small.rs
index 83ce00a..1a83dc5 100644
--- a/examples/small.rs
+++ b/examples/small.rs
@@ -1,3 +1,20 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This file is part of FastCGI-Conduit.
+//
+// FastCGI-Conduit is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// FastCGI-Conduit is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with FastCGI-Conduit. If not, see <https://www.gnu.org/licenses/>.
+
use conduit::{header, Body, RequestExt, Response};
use fastcgi_conduit::Server;