(&mut self, py: Python, key: PyBackedStr)
| 109 | /// Remove a key-value pair from the header map. |
| 110 | #[pyo3(signature = (key))] |
| 111 | fn remove(&mut self, py: Python, key: PyBackedStr) { |
| 112 | py.allow_threads(|| { |
| 113 | self.0.remove::<&str>(key.as_ref()); |
| 114 | }) |
| 115 | } |
| 116 | |
| 117 | /// Returns true if the map contains a value for the specified key. |
| 118 | #[pyo3(signature = (key))] |
no outgoing calls