File: stderr.cgi

package info (click to toggle)
paste 3.5.2%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,424 kB
  • sloc: python: 18,933; javascript: 8,028; sh: 24; makefile: 16
file content (8 lines) | stat: -rwxr-xr-x 223 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/usr/bin/env python
from __future__ import print_function
import sys
print('Status: 500 Server Error')
print('Content-type: text/html')
print()
print('There was an error')
print('some data on the error', file=sys.stderr)