Web Server Gateway Interface: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Bot: passaggio degli url da HTTP a HTTPS |
+{{Interfacce web}} |
||
(2 versioni intermedie di 2 utenti non mostrate) | |||
Riga 9:
== Caratteristiche ==
{{...|internet}}
== Esempio ==
Un “[[Hello world]]” compatibile con WSGI scritta in [[Python]]:
<
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
yield 'Hello World\n'
</syntaxhighlight>
Dove:
Riga 37:
* {{cita web|http://pythonpaste.org/|Python Paste}}
{{Interfacce web}}
{{portale|internet}}
|