Commits

Anonymous committed 45e62d8

link and markup fixes

Comments (0)

Files changed (2)

docs/differences.txt

     return exc(environ, start_response)
 
 ``req.content_type = "application/x-csv"`` and 
-``req.headers_out.add('Content-Disposition', 'attachment;filename=somefile.csv'):
+``req.headers_out.add('Content-Disposition', 'attachment;filename=somefile.csv')``:
 
 .. code-block::
 

docs/wiki-example.txt

 Otherwise we fill in a template.  The template language we're going to
 use in this example is `Tempita <http://pythonpaste.org/tempita/>`_, a
 very simple template language with a similar interface to
-`string.Template <>`_.
+`string.Template <http://python.org/doc/current/lib/node40.html>`_.
 
 The template actually looks like this:
 
 set this attribute to a date, None (effectively removing the header),
 a time tuple (like produced by ``time.localtime()``), or as in this
 case to an integer timestamp.  If you get the value back it will
-always be a `datetime <>`_ object (or None).  With this header we can
-process requests with If-Modified-Since headers, and return ``304 Not
-Modified`` if appropriate.  It won't actually do that unless you set
-``resp.conditional_response`` to True.  
+always be a `datetime
+<http://python.org/doc/current/lib/datetime-datetime.html>`_ object
+(or None).  With this header we can process requests with
+If-Modified-Since headers, and return ``304 Not Modified`` if
+appropriate.  It won't actually do that unless you set
+``resp.conditional_response`` to True.
 
 .. note::
 
 ``req.path_url``; that's everything *but* ``?action=edit``.  So we are
 POSTing right over the view page.  This has the nice side effect of
 automatically invalidating any caches of the original page.  It also
-is vaguely `RESTful <>`_.
+is vaguely `RESTful
+<http://en.wikipedia.org/wiki/Representational_State_Transfer>`_.
 
 We save the last modified time in a hidden ``mtime`` field.  This way
 we can detect concurrent updates.  If start editing the page who's
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.