@@ -69,10 +69,10 @@ The newly created file will be accessible at
69
69
Notice that ``static `` is a special path for py4web and only files under
70
70
the ``static `` folder are served.
71
71
72
- Important: internally py4web uses the bottle
73
- ` static_file <https://bottlepy.org/docs/dev/tutorial.html#static-files >`__
74
- method for serving static files, which means it supports streaming ,
75
- partial content, range requests, and if-modified-since. This is all
72
+ Important: internally py4web uses the ombott
73
+ (One More BOTTle) <https://github.com/valq7711/ombott >`__,
74
+ It supports streaming, partial content, range requests ,
75
+ and if-modified-since. This is all
76
76
handled automatically based on the HTTP request headers.
77
77
78
78
Dynamic Web Pages
@@ -218,7 +218,7 @@ This action can be accessed at:
218
218
219
219
220
220
221
- Notice that the request object is a `Bottle request object <https://bottlepy.org/docs/dev/api.html#the-request-object >`__.
221
+ Notice that the request object is equivalent to a `Bottle request object <https://bottlepy.org/docs/dev/api.html#the-request-object >`__.
222
222
with one additional attribute:
223
223
224
224
::
@@ -364,8 +364,7 @@ The scaffold app contains an example of a more complex action:
364
364
365
365
Notice the following:
366
366
367
- - ``request ``, ``response ``, ``abort `` are defined by Bottle, using
368
- `ombott (One More BOTTle) <https://github.com/valq7711/ombott >`__,
367
+ - ``request ``, ``response ``, ``abort `` are defined by
369
368
which is a fast bottlepy spin-off.
370
369
- ``redirect `` and ``URL `` are similar to their web2py counterparts
371
370
- helpers (``A ``, ``DIV ``, ``SPAN ``, ``IMG ``, etc) must be imported
0 commit comments