Open RanniSch opened 10 months ago
http://localhost:8000/cgi-bin/script-infinite-loop.py gives 508 loop detected (correct)
The Python Scripts don't execute anymore when they are part of the URL, they just get downloaded. http://localhost:8000/cgi-bin/script-broken.py
tested py script with broken for if condition gives 508 (always the same on my mac) please test yourself with this broken script @RanniSch @LukasKava
"#!/usr/bin/env python import os
######## Set the content type to HTML content_type = "Content-Type: text/html\n"
######### Create header for response header = """ <!DOCTYPE html>
The issue with scripts getting dowloaded is fixed!
Tested with: http://localhost:8000/cgi-bin/script-infinite-loop.py
Only tested with a script that contains an infinite loop, not an error.