Skip to content

Commit 2bd7218

Browse files
committed
Adding example of potential diagram for wsgi servers.
1 parent 2f692fc commit 2bd7218

File tree

16 files changed

+122
-97
lines changed

16 files changed

+122
-97
lines changed

css/c.css

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-01-02T11:36:13Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-01-04T14:47:02Z</updated></feed>

img/server-wsgi-browser.jpg

64.8 KB
Loading

img/wsgi-server-browser.jpg

146 KB
Loading

img/wsgi-server-browser.png

267 KB
Loading

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,12 @@ <h1>WSGI Server</h1>
269269
WSGI v1.0 is superseded by
270270
<a class="reference external" href="http://www.python.org/dev/peps/pep-3333/">PEP 3333</a>, which defines the
271271
v1.0.1 WSGI standard.</p>
272+
<hr class="docutils" />
273+
<img alt="WSGI Server &lt;-&gt; Web server &lt;-&gt; Browser" src="../img/wsgi-server-browser.png" />
274+
<p>Requests from the browser that are not for static assets are passed to the
275+
WSGI server. Once the request is processed by the WSGI server, the request
276+
is passed back through the web server and onto the browser.</p>
277+
<hr class="docutils" />
272278
<div class="section" id="wsgi-resources">
273279
<h2>WSGI Resources</h2>
274280
<p><a class="reference external" href="http://www.python.org/dev/peps/pep-0333/">PEP 0333 WSGI v1.0</a>
@@ -278,7 +284,7 @@ <h2>WSGI Resources</h2>
278284
<p><a class="reference external" href="http://gunicorn.org/">Green Unicorn</a>,
279285
<a class="reference external" href="http://code.google.com/p/modwsgi/">mod_wsgi</a>,
280286
<a class="reference external" href="https://github.com/unbit/uwsgi-docs">uWSGI</a>, and
281-
<a class="reference external" href="http://www.gevent.org/">gvent</a> are common WSGI server implementations.</p>
287+
<a class="reference external" href="http://www.gevent.org/">gevent</a> are common WSGI server implementations.</p>
282288
</div>
283289

284290
</section>

pages/wsgi-server.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ <h1>WSGI Server</h1>
5252
WSGI v1.0 is superseded by
5353
<a class="reference external" href="http://www.python.org/dev/peps/pep-3333/">PEP 3333</a>, which defines the
5454
v1.0.1 WSGI standard.</p>
55+
<hr class="docutils" />
56+
<img alt="WSGI Server &lt;-&gt; Web server &lt;-&gt; Browser" src="../img/wsgi-server-browser.png" />
57+
<p>Requests from the browser that are not for static assets are passed to the
58+
WSGI server. Once the request is processed by the WSGI server, the request
59+
is passed back through the web server and onto the browser.</p>
60+
<hr class="docutils" />
5561
<div class="section" id="wsgi-resources">
5662
<h2>WSGI Resources</h2>
5763
<p><a class="reference external" href="http://www.python.org/dev/peps/pep-0333/">PEP 0333 WSGI v1.0</a>
@@ -61,7 +67,7 @@ <h2>WSGI Resources</h2>
6167
<p><a class="reference external" href="http://gunicorn.org/">Green Unicorn</a>,
6268
<a class="reference external" href="http://code.google.com/p/modwsgi/">mod_wsgi</a>,
6369
<a class="reference external" href="https://github.com/unbit/uwsgi-docs">uWSGI</a>, and
64-
<a class="reference external" href="http://www.gevent.org/">gvent</a> are common WSGI server implementations.</p>
70+
<a class="reference external" href="http://www.gevent.org/">gevent</a> are common WSGI server implementations.</p>
6571
</div>
6672

6773
<hr/>

source/content/pages/wsgi-server.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ WSGI v1.0 is superseded by
1313
`PEP 3333 <http://www.python.org/dev/peps/pep-3333/>`_, which defines the
1414
v1.0.1 WSGI standard.
1515

16+
----
17+
18+
19+
.. image:: ../img/wsgi-server-browser.png
20+
:alt: WSGI Server <-> Web server <-> Browser
21+
22+
Requests from the browser that are not for static assets are passed to the
23+
WSGI server. Once the request is processed by the WSGI server, the request
24+
is passed back through the web server and onto the browser.
25+
26+
----
27+
1628
WSGI Resources
1729
--------------
1830
`PEP 0333 WSGI v1.0 <http://www.python.org/dev/peps/pep-0333/>`_
@@ -23,4 +35,4 @@ specifications.
2335
`Green Unicorn <http://gunicorn.org/>`_,
2436
`mod_wsgi <http://code.google.com/p/modwsgi/>`_,
2537
`uWSGI <https://github.com/unbit/uwsgi-docs>`_, and
26-
`gvent <http://www.gevent.org/>`_ are common WSGI server implementations.
38+
`gevent <http://www.gevent.org/>`_ are common WSGI server implementations.

source/theme/less/custom.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import "bootswatch-variables.less";
33
@import "bootswatch.less";
44

5+
@baseFontSize: 16px;
56
.underline {text-decoration: underline;}
67
h1, h2, h3, h4, h5, h6 {color: #222;}
78
.logo-header-section {margin: 35px 0 30px 0;}

0 commit comments

Comments
 (0)