We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d2856 commit ed446dfCopy full SHA for ed446df
src/http.rs
@@ -196,17 +196,6 @@ impl IncomingHttpRequest {
196
http::Method::from_bytes(self.method.as_bytes())
197
.map_err(|e| anyhow::anyhow!("couldn't parse method: {:?}", e))
198
}
199
-
200
- pub fn path(&self) -> anyhow::Result<String> {
201
- let url = url::Url::parse(&self.raw_path)?;
202
- // skip the first path segment, which is the process ID.
203
- Ok(url
204
- .path_segments()
205
- .ok_or(anyhow::anyhow!("url path missing process ID!"))?
206
- .skip(1)
207
- .collect::<Vec<&str>>()
208
- .join("/"))
209
- }
210
211
212
/// Request type that can be shared over WASM boundary to apps.
0 commit comments