PyDocs

Nav

Internet Protocols and Support

Morsel.js_output

http.cookies

method of Morsel (source) Deprecated 3.15
  • Morsel.js_output(attrs=None)
Deprecated since 3.15, removed in 3.19. This method generates a JavaScript snippet to set cookies in the browser, which is no longer considered a standard or recommended approach. Use output() instead to generate HTTP headers.
Return an embeddable JavaScript snippet, which, if run on a browser which supports JavaScript, will act the same as if the HTTP header was sent.
0 Examples
No examples for http.cookies/Morsel.js_output.
See Also
No see-alsos for http.cookies/Morsel.js_output
0 Notes
No notes for Morsel.js_output