next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: httpHeaders(String)

httpHeaders(String) -- prepend http headers to a string

Synopsis

Description

This function is experimental, and is intended to support the development of web servers.

i1 : httpHeaders "hi there"

o1 = HTTP/1.1 200 OK
     Server: Macaulay2/1.18
     Connection: close
     Content-Length: 8
     Content-type: text/html; charset=utf-8

     hi there