python - Why we need gateway interface for web applications? -
i new web applications , came across these 2 terms, wsgi , cgi. both gateway interfaces question why need these interfaces communication between server , web application? can't communicate directly?
thanks
when strings (data bytestring) received web server needed kind of 'adapter' make possible application/python environment treat these strings. how data 'shipped' server/gateway environment application/python environment defined wsgi. on other way, python server, when sent. see pep-3333. it's needed because software in machine (applications) needs way communicate through network using http, web server plus cgi make possible in safe , standard way python-based applications.
Comments
Post a Comment