aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--src/request.rs4
2 files changed, 6 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 833c9e8..1beb6cd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.1"
edition = "2018"
[dependencies]
-conduit = "0.9.0-alpha.2"
+conduit = "0.9.0-alpha.3"
fastcgi = "1.0.0"
http = "0.2.1"
Inflector = "0.11.4"
@@ -12,4 +12,4 @@ log = "0.4.8"
snafu = "0.6.8"
[dev-dependencies]
-conduit-router = "0.9.0-alpha.2"
+conduit-router = "0.9.0-alpha.3"
diff --git a/src/request.rs b/src/request.rs
index fb991bc..02f416e 100644
--- a/src/request.rs
+++ b/src/request.rs
@@ -256,6 +256,10 @@ impl<'a> conduit::RequestExt for FastCgiRequest<'a> {
&self.path
}
+ fn path_mut(&mut self) -> &mut String {
+ &mut self.path
+ }
+
fn query_string(&self) -> std::option::Option<&str> {
self.query.as_ref()
.map(|p| p.as_str())