mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.
cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up
This commit is contained in:
		
							parent
							
								
									13ff8eb493
								
							
						
					
					
						commit
						158ce4247e
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -2,6 +2,7 @@
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from MiniAEFrame import AEServer, MiniApplication
 | 
					from MiniAEFrame import AEServer, MiniApplication
 | 
				
			||||||
 | 
					import MacOS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class CGITest(AEServer, MiniApplication):
 | 
					class CGITest(AEServer, MiniApplication):
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
| 
						 | 
					@ -23,7 +24,7 @@ class CGITest(AEServer, MiniApplication):
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
	def cgihandler(self, pathargs, **args):
 | 
						def cgihandler(self, pathargs, **args):
 | 
				
			||||||
		rv = """HTTP/1.0 200 OK
 | 
							rv = """HTTP/1.0 200 OK
 | 
				
			||||||
Server: NetPresenz; python-cgi-script
 | 
					Server: Unknown; python-cgi-script
 | 
				
			||||||
MIME-Version: 1.0
 | 
					MIME-Version: 1.0
 | 
				
			||||||
Content-type: text/html
 | 
					Content-type: text/html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue