Content-type: text/html

Current Working Directory:

/home/ernesto/programas/2024/tina

Command Line Arguments:

['/home/ernesto/programas/2024/tina/cgi-bin/cgitest.py']

Form Contents:

No form fields.

Shell Environment:

CGI_PATH
/cgi-bin/cgitest.py
CONTENT_LENGTH
0
GATEWAY_INTERFACE
CGI/1.0
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_CONNECTION
close
HTTP_HOST
tina.servepics.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR
3.149.27.97
HTTP_X_REAL_IP
3.149.27.97
LC_CTYPE
C.UTF-8
QUERY_STRING
REMOTE_HOST
localhost
REMOTE_PORT
52078
REQUEST_METHOD
GET
SCRIPT
cgitest.py
SERVER_NAME
TinA/0.9.17
SERVER_PORT
8410
SERVER_SOFTWARE
TinA (Tiny Asynchronous Server) v 0.9.17
X-REAL-IP
127.0.0.1

These environment variables could have been set:

In addition, HTTP headers sent by the server may be passed in the environment as well. Here are some common variable names:

What follows is a test, not an actual exception:

Traceback (most recent call last):

  File "/usr/lib/python3.10/cgi.py", line 867, in test
    g()
  File "/usr/lib/python3.10/cgi.py", line 865, in g
    f()
  File "/usr/lib/python3.10/cgi.py", line 863, in f
    exec("testing print_exception() -- <I>italics?</I>")
  File "<string>", line 1
    testing print_exception() -- <I>italics?</I>
            ^^^^^^^^^^^^^^^
SyntaxError: invalid syntax

Second try with a small maxlen...

Current Working Directory:

/home/ernesto/programas/2024/tina

Command Line Arguments:

['/home/ernesto/programas/2024/tina/cgi-bin/cgitest.py']

Form Contents:

No form fields.

Shell Environment:

CGI_PATH
/cgi-bin/cgitest.py
CONTENT_LENGTH
0
GATEWAY_INTERFACE
CGI/1.0
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_CONNECTION
close
HTTP_HOST
tina.servepics.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR
3.149.27.97
HTTP_X_REAL_IP
3.149.27.97
LC_CTYPE
C.UTF-8
QUERY_STRING
REMOTE_HOST
localhost
REMOTE_PORT
52078
REQUEST_METHOD
GET
SCRIPT
cgitest.py
SERVER_NAME
TinA/0.9.17
SERVER_PORT
8410
SERVER_SOFTWARE
TinA (Tiny Asynchronous Server) v 0.9.17
X-REAL-IP
127.0.0.1