Skip to content

Commit cbb4d59

Browse files
committed
feat: implement more lua http pipeline
1 parent 7ddc765 commit cbb4d59

File tree

2 files changed

+270
-28
lines changed

2 files changed

+270
-28
lines changed

Diff for: capybara-core/src/pipeline/http/pipeline.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ impl HeadersContext {
110110
}
111111

112112
#[inline]
113-
pub(crate) fn _drop(&mut self, header: Cachestr) {
113+
pub(crate) fn _remove(&mut self, header: Cachestr) {
114114
let v = smallvec![HeaderOperator::Drop];
115115
self.inner.insert(header, v);
116116
}
117117

118-
pub fn drop<A>(&mut self, header: A)
118+
pub fn remove<A>(&mut self, header: A)
119119
where
120120
A: AsRef<str>,
121121
{

0 commit comments

Comments
 (0)