Skip to content

Commit

Permalink
feat: implement more lua http pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeffcaii committed Jul 10, 2024
1 parent 7ddc765 commit cbb4d59
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 28 deletions.
4 changes: 2 additions & 2 deletions capybara-core/src/pipeline/http/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ impl HeadersContext {
}

#[inline]
pub(crate) fn _drop(&mut self, header: Cachestr) {
pub(crate) fn _remove(&mut self, header: Cachestr) {
let v = smallvec![HeaderOperator::Drop];
self.inner.insert(header, v);
}

pub fn drop<A>(&mut self, header: A)
pub fn remove<A>(&mut self, header: A)
where
A: AsRef<str>,
{
Expand Down
Loading

0 comments on commit cbb4d59

Please sign in to comment.