diff options
Diffstat (limited to 'src/main.rs')
-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); // |