diff --git a/applications/examples/views/default/examples.html b/applications/examples/views/default/examples.html index ad1c566b..4e8f2ffd 100644 --- a/applications/examples/views/default/examples.html +++ b/applications/examples/views/default/examples.html @@ -443,7 +443,7 @@ def buy(): Field('product_id',requires=IS_IN_DB(db,db.product.id,'%(name)s')), Field('quantity','integer',requires=IS_INT_IN_RANGE(1,100))).process() if form.accepted: - # get previous purchese for same product + # get previous purchase for same product purchase = db((db.purchase.buyer_id == form.vars.buyer_id)& (db.purchase.product_id==form.vars.product_id)).select().first() @@ -633,7 +633,7 @@ def streamer(): path=os.path.join(request.folder,'private','largefile.mpeg4') return response.stream(open(path,'rb'),chunk_size=4096) """.strip(),language='web2py',link=URL('global','vars'),_class='boxCode')}} -
By default all static files and files stored in 'upload' fields in the database are streamed when larger than 1MByte.
+By default all static files and files stored in 'upload' fields in the database are streamed when larger than 1 MByte.
web2py automatically and transparently handles PARTIAL_CONTENT and RANGE requests. diff --git a/applications/examples/views/default/support.html b/applications/examples/views/default/support.html index c6110548..b15217e1 100644 --- a/applications/examples/views/default/support.html +++ b/applications/examples/views/default/support.html @@ -15,7 +15,7 @@For professional support, you can also contact one of the companies below: