Quickies

[categories] [index] [all (552)] [latest]

PostScript
  1. %!PS
    
    % gs -q http.ps | nc -l 8080
    % http://localhost:8080/
    
    (HTTP/1.1 200 OK\r\n) print
    (Content-Length: 16\r\n) print
    (Content-Type: text/plain\r\n) print
    (\r\n) print
    (Hello PostScript\r\n) print
    
    flush
    quit