LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
617 stars 70 forks source link

re-export http_types::headers::HeaderName #74

Closed JakubKoralewski closed 3 years ago

JakubKoralewski commented 3 years ago

The Requests:

pub headers: HashMap<HeaderName, HeaderValues>,

is public while HeaderName is private, making it impossible to actually .get() something

JakubKoralewski commented 3 years ago

added also HeaderValue and HeaderValues

LukeMathWalker commented 3 years ago

Thanks for raising the issue - I solved it in #75, including a few more types that are probably useful for users of wiremock.