<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">In `minimal-http_server-form-get.c`, after `lws_http_redirect`, the comment shows that we can add more headers after calling `lws_http_redirect`.</div><div class=""><br class=""></div><div class="">But in `lws_http_redirect`, the code already calls `lws_finalize_http_header` and `lws_write`. Is that correct? And in the example code, it calls `lws_finalize_http_header` and `lws_write` again after `lws_http_redirect`. Does this violate `single lws_write` principle in <a href="https://libwebsockets.org/lws-api-doc-master/html/md_READMEs_README_8coding.html#writeable" class="">https://libwebsockets.org/lws-api-doc-master/html/md_READMEs_README_8coding.html#writeable</a> ?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Chanson</div></body></html>