1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-19 21:17:58 +02:00
Jordon Smith 60b69fbb3b Fix XML double WriteHeader (#677)
* WriteHeader if not committed in test.Response

Call WriteHeader if response isn't committed yet in calls to Write to
behave the same as fasthttp and standard Responses.

* Fix XML double WriteHeader

XMLBlob was writing xml.Header to the reply before writing the header
triggering a WriteHeader(http.StatusOK).
2016-10-25 07:56:41 -07:00
..
2016-05-02 16:19:35 -07:00
2016-05-22 07:58:21 -07:00
2016-10-25 07:56:41 -07:00
2016-09-12 06:18:58 -07:00
2016-03-23 11:10:22 -05:00