Is there any reason for hiding status in ``response.status`` (in package "net/http")?
Why don't we have a function to get it out, eg: ``rw.Status()`` (like we have with Headers)?
It would be very helpful to get access to this field for example when creating some handlers pipeline (middleware).
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
@Rémy Oudompheng - I agree that we ResponseWriter shouldn't be a storage.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.