• Kirill Smelkov's avatar
    go & ruby: Add trailing newline to response · bdcaa736
    Kirill Smelkov authored
    Just for convenience. Before (e.g. for go):
    
        kirr@teco:~$ curl http://[::1]:7778
        Hello world at `/`  ; Thu Jun  9 11:09:49 2016  (go)kirr@teco:~$
    
    After:
    
        kirr@teco:~$ curl http://[::1]:7778
        Hello world at `/`  ; Thu Jun  9 11:10:36 2016  (go)
        kirr@teco:~$
    
    Python version already emits trailing newline, because it uses `print ...`
    without trailing ",".
    
    /reviewed-by TrustMe
    bdcaa736
helloweb.rb 1.33 KB