# Hackney support for float status codes

**URL:** <https://forum.elixirforum.com/t/hackney-support-for-float-status-codes/43715>\
**Category:** Questions\
**Tags:** hackney\
**Created:** [November 8, 2021, 11:37pm UTC](https://forum.elixirforum.com/t/hackney-support-for-float-status-codes/43715 "2021-11-08T23:37:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fireproofsocks](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fireproofsocks/32/7669_2.png) [@fireproofsocks](https://forum.elixirforum.com/u/fireproofsocks)\
**Post date:** [November 9, 2021, 1:40am UTC](https://forum.elixirforum.com/t/hackney-support-for-float-status-codes/43715/3 "2021-11-09T01:40:46Z")

</div>

> [@al2o3cr](#):
>
> The [HTTP/1.1 spec, RFC7230](https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2) specifically defines the status code as 3 characters from `0` to `9`.

That’s a helpful reference, thanks! Do you think an HTTP client should only tolerate responses that follow the spec? Or should they try to accommodate the fact that some servers will bend/break rules? I.e. do you think there is any point in submitting a PR for the related issue [Status codes as floats · Issue #697 · benoitc/hackney · GitHub](https://github.com/benoitc/hackney/issues/697) ? Or is that just opening a can of worms?

---

_[View the full topic](https://forum.elixirforum.com/t/hackney-support-for-float-status-codes/43715)._
