diff options
author | Dennis Eriksen <d@ennis.no> | 2024-10-11 13:29:02 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2024-10-11 13:29:02 +0200 |
commit | 6613812263c033b6a7a33a5ea37fad5a172c9837 (patch) | |
tree | e7425d5b969e56f0cfc63179a155deed1dd55dbd /src | |
parent | adding pledge(2) and unveil(2) for openbsd, and fixing some typos and stuff (diff) | |
download | purl-rs-6613812263c033b6a7a33a5ea37fad5a172c9837.tar.gz |
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 11 |
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); // |