summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-23 22:20:55 -0500
committerzachir <zachir@librem.one>2024-03-23 22:20:55 -0500
commit536413d7646844c5bc59d5f10cb833d5e3580643 (patch)
tree6b1f8d2ce3988ac9752e8a8420f47346e0d7f8b2 /src/main.zig
parentdf85b7eb5c69c794a35031259200457fdcc885f8 (diff)
Add README.md and LICENSE
zhttpd is (at least for now) licensed under the GPLv2. I may relicense later, we'll see.
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index ecc14a4..ae53ca6 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2,6 +2,22 @@
//! threaded, and does not yet support every error code, nor does it support
//! TLS/SSL, but it does display web pages.
+// Copyright (C) 2024 ZachIR
+//
+// This program 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 2 of the License, or (at your option)
+// any later version.
+//
+// This program 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
+// this program; if not, write to the Free Software Foundation, Inc., 51
+// Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
const std = @import("std");
/// zhttpd relies on mime in addition to std, which is included as made by