aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2024-10-11 13:29:02 +0200
committerDennis Eriksen <d@ennis.no>2024-10-11 13:29:02 +0200
commit6613812263c033b6a7a33a5ea37fad5a172c9837 (patch)
treee7425d5b969e56f0cfc63179a155deed1dd55dbd /src
parentadding pledge(2) and unveil(2) for openbsd, and fixing some typos and stuff (diff)
downloadpurl-rs-main.tar.gz
upgrading dependenciesHEADmain
Diffstat (limited to 'src')
-rw-r--r--src/main.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ab5a1d4..54e82d7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,7 +45,16 @@ fn main() {
// Get some variable from the current request
let scheme:&str = req.var("REQUEST_SCHEME").unwrap_or("https");
let server_name:&str = req.var("SERVER_NAME").unwrap_or("example.com");
- let docuri:&str = req.var("DOCUMENT_URI").unwrap_or("");
+ let docuri:&str = req.var("DOCUMENT_URI").unwrap_or("no docuri");
+
+ // println!("Debug:");
+ // println!("dburl: {}", dburl);
+ // println!("create_uri: {}", create_uri);
+ // println!("form_uri: {}", form_uri);
+ // println!("short_uri_prefix: {}", short_uri_prefix);
+ // println!("scheme: {}", scheme);
+ // println!("server_name: {}", server_name);
+ // println!("docuri: {}", docuri);
//