cargo hyper 0.11.2

latest releases: 0.14.17, 0.14.16, 0.14.15...
6 years ago

Bug Fixes

  • client: don't assume bodies on 204 and 304 Responses (81c0d185, closes #1242)
  • header: fix panic from headers.remove when typed doesn't match (4bd9746a)
  • http:
    • allow zero-length chunks when no body is allowed (9b47e186)
    • fix encoding when buffer is full (fc5b9cce)
    • skip zero length chunks when encoding (d6da3f7b)
  • server:
    • improve detection of when a Response can have a body (673e5cb1, closes #1257)
    • reject Requests with invalid body lengths (14cbd400)
    • do not automatically set ContentLength for 204 and 304 Responses (c4c89a22)
  • uri: fix Uri parsing of IPv6 and userinfo (7081c449, closes #1269)

Features

  • headers: export missing header types (c9f4ff33)
  • server: Provide reference to Response body (a79fc98e, closes #1216)
  • status: add as_u16() method to StatusCode (5f6f252c)

Don't miss a new hyper release

NewReleases is sending notifications on new releases.