laminas / laminas-http

Provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests
https://docs.laminas.dev/laminas-http/
BSD 3-Clause "New" or "Revised" License
36 stars 27 forks source link

Fixes #5 : Handle Response::sendHeaders() to not silently returns when header already sent #41

Closed samsonasik closed 4 years ago

samsonasik commented 4 years ago

Signed-off-by: Abdul Malik Ikhsan samsonasik@gmail.com

Q A
BC Break yes

Description

Fixes https://github.com/laminas/laminas-http/issues/5 Handle Response::sendHeaders() to not silently returns when header already sent

samsonasik commented 4 years ago

travis build green :tada:

Ocramius commented 4 years ago

Given the stability of this library, I'm not sure if introducing this BC break at this point will be worth it though 🤔

samsonasik commented 4 years ago

travis build green 🎉

samsonasik commented 4 years ago

travis build green 🎉

samsonasik commented 4 years ago

@weierophinney I've added documentation for it.