I heard that the meta tag in html can be used to specify response key-value pairs, if so, how does it work under the hood? How does the server responding with html page understands the meta tag before the html parser parses it?
Example of the meta tag:
<meta http-equiv="set-cookie" content="userid=xyz; expires=Wednesday, 08-Aug-00 23:59:59 GMT;" />
In very limited terms.
It doesn't. It is interpreted by the browser.
cookieis not a valid value forhttp-equiv. I think you meantset-cookiewhich is marked as non-conforming in the specification so you should not use it.”is not a valid attribute delimited character either. You need"or'.