cookieAttribute initialize the current attribute metadata with the details of a HTTP cookie attribute for use by the HTTP code generator.
(name, value string)
| 1215 | // cookieAttribute initialize the current attribute metadata with the details of |
| 1216 | // a HTTP cookie attribute for use by the HTTP code generator. |
| 1217 | func cookieAttribute(name, value string) { |
| 1218 | c := eval.Current().(*expr.HTTPResponseExpr).Cookies |
| 1219 | c.AddMeta("cookie:"+name, value) |
| 1220 | } |
no test coverage detected