parroty / exvcr

HTTP request/response recording library for elixir, inspired by VCR.
MIT License
722 stars 132 forks source link

Add support for HEAD request in hackney #91

Closed paulfedory closed 7 years ago

paulfedory commented 7 years ago

This allows use of HEAD requests from hackney or HTTPoison, addressing #83, which I also have been experiencing.

(HEAD requests have no body, so I had to add some pattern matching to handle circumstances when the body was nil.)

Please let me know what you think!

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.8%) to 92.986% when pulling e9b001c537e78229f169b864471e5d50a993dfaa on paulfedory:hackney-head-request into b1efe28365317ae79be663124134a6e1f912524e on parroty:master.

parroty commented 7 years ago

Thanks great.