While I'm sending a HTTP response, is it okay to send a partial HTML as text/html?
e.g.
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 12
<p>hello</p>
It seems incorrect because the content is invalid HTML document.
While I'm sending a HTTP response, is it okay to send a partial HTML as text/html?
e.g.
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 12
<p>hello</p>
It seems incorrect because the content is invalid HTML document.
Hello` is a valid HTML file.