summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/comment-example.txt2
-rw-r--r--docs/differences.txt8
-rw-r--r--docs/do-it-yourself.txt6
-rw-r--r--docs/index.txt4
-rw-r--r--docs/jsonrpc-example.txt10
-rw-r--r--docs/reference.txt4
-rw-r--r--docs/whatsnew-1.8.txt2
-rw-r--r--docs/wiki-example.txt2
8 files changed, 19 insertions, 19 deletions
diff --git a/docs/comment-example.txt b/docs/comment-example.txt
index 21377ac..62824a4 100644
--- a/docs/comment-example.txt
+++ b/docs/comment-example.txt
@@ -252,7 +252,7 @@ Because we put in some text without quoting it is susceptible to a
<https://en.wikipedia.org/wiki/Cross-site_scripting>`_ attack. Fixing
that is beyond the scope of this tutorial; you could quote it or clean
it with something like `lxml.html.clean
-<http://lxml.de/lxmlhtml.html#cleaning-up-html>`_.
+<https://lxml.de/lxmlhtml.html#cleaning-up-html>`_.
Accepting Comments
------------------
diff --git a/docs/differences.txt b/docs/differences.txt
index b7f9638..9da7285 100644
--- a/docs/differences.txt
+++ b/docs/differences.txt
@@ -321,7 +321,7 @@ From information `from the wiki
Yaro
====
-`Yaro <https://pypi.python.org/pypi/yaro>`_ is a small wrapper around
+`Yaro <https://pypi.org/project/yaro>`_ is a small wrapper around
the WSGI environment, much like WebOb in scope.
The WebOb objects have many more methods and attributes. The Yaro
@@ -365,7 +365,7 @@ An offshoot of `Pocoo <http://www.pocoo.org/>`_,
this library is based around WSGI, similar to Paste and Yaro.
This is taken from the `wrapper documentation
-<http://werkzeug.pocoo.org/docs/0.12/wrappers/>`_.
+<https://werkzeug.palletsprojects.com/en/0.15.x/contrib/wrappers/#werkzeug-contrib-wrappers>`_.
Request
-------
@@ -399,7 +399,7 @@ Zope 3
From the Zope 3 interfaces for the `Request
<https://zopepublisher.readthedocs.io/en/sphinx-docs/browser_api.html#zope.publisher.interfaces.browser.IBrowserRequest>`_
and `Response
-<http://zopepublisher.readthedocs.io/en/sphinx-docs/http_api.html#zope.publisher.interfaces.http.IHTTPResponse>`_.
+<https://zopepublisher.readthedocs.io/en/sphinx-docs/http_api.html#zope.publisher.interfaces.http.IHTTPResponse>`_.
Request
-------
@@ -589,7 +589,7 @@ webapp Response
<https://cloud.google.com/appengine/docs/standard/python/tools/webapp2>`_.
The Google App Engine `webapp
-<https://cloud.google.com/appengine/docs/standard/python/tools/webapp/>`_
+<https://cloud.google.com/appengine/docs/standard/python/python25>`_
framework uses the WebOb Request object, but does not use its Response
object.
diff --git a/docs/do-it-yourself.txt b/docs/do-it-yourself.txt
index e92bd2e..11cf343 100644
--- a/docs/do-it-yourself.txt
+++ b/docs/do-it-yourself.txt
@@ -84,7 +84,7 @@ These two pieces solve a lot of the more tedious parts of making a framework. T
Serving Your Application
------------------------
-While we can test the application using WebOb, you might want to serve the application. Here's the basic recipe, using the `Paste <https://pypi.python.org/pypi/Paste>`_ HTTP server:
+While we can test the application using WebOb, you might want to serve the application. Here's the basic recipe, using the `Paste <https://pypi.org/project/Paste>`_ HTTP server:
.. code-block:: python
@@ -268,7 +268,7 @@ Controllers
The router just passes the request on to the controller, so the controllers are themselves just WSGI applications. But we'll want to set up something to make those applications friendlier to write.
-To do that we'll write a `decorator <http://www.drdobbs.com/web-development/python-24-decorators/184406073>`_. A decorator is a function that wraps another function. After decoration the function will be a WSGI application, but it will be decorating a function with a signature like ``controller_func(req, **urlvars)``. The controller function will return a response object (which, remember, is a WSGI application on its own).
+To do that we'll write a `decorator <https://wiki.python.org/moin/PythonDecorators>`_. A decorator is a function that wraps another function. After decoration the function will be a WSGI application, but it will be decorating a function with a signature like ``controller_func(req, **urlvars)``. The controller function will return a response object (which, remember, is a WSGI application on its own).
.. code-block:: python
:linenos:
@@ -537,7 +537,7 @@ Well, we don't *really* need to factor templating into our framework. After all
But we'll add a little helper, because I think it shows a clever trick.
-We'll use `Tempita <https://pypi.python.org/pypi/Tempita>`_ for templating, mostly because it's very simplistic about how it does loading. The basic form is:
+We'll use `Tempita <https://pypi.org/project/Tempita>`_ for templating, mostly because it's very simplistic about how it does loading. The basic form is:
.. code-block:: python
diff --git a/docs/index.txt b/docs/index.txt
index 805c5bb..393a144 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -316,7 +316,7 @@ Status and License
==================
WebOb is an extraction and refinement of pieces from `Paste
-<https://pypi.python.org/pypi/Paste>`_. It is under active development on `GitHub
+<https://pypi.org/project/Paste>`_. It is under active development on `GitHub
<https://github.com/pylons/webob>`_. It was originally written by `Ian Bicking
<http://www.ianbicking.org/>`_, and is maintained by the `Pylons Project
<https://pylonsproject.org/>`_.
@@ -332,6 +332,6 @@ Report issues on the `issue tracker <https://github.com/Pylons/webob/issues>`_.
If you've got questions that aren't answered by this documentation, contact the
`pylons-discuss mail list
<https://groups.google.com/forum/#!forum/pylons-discuss>`_ or join the
-`#pyramid IRC channel <https://webchat.freenode.net/?channels=pyramid>`_.
+`#pyramid IRC channel <https://webchat.freenode.net/#pyramid>`_.
WebOb is released under an :doc:`MIT-style license <license>`.
diff --git a/docs/jsonrpc-example.txt b/docs/jsonrpc-example.txt
index c105913..68db47b 100644
--- a/docs/jsonrpc-example.txt
+++ b/docs/jsonrpc-example.txt
@@ -9,11 +9,11 @@ Introduction
------------
This is an example of how to write a web service using WebOb. The
-example shows how to create a `JSON-RPC <http://json-rpc.org/>`_
+example shows how to create a `JSON-RPC <https://www.jsonrpc.org/>`_
endpoint using WebOb and the `simplejson
-<https://pypi.python.org/pypi/simplejson>`_ JSON library. This
+<https://pypi.org/project/simplejson>`_ JSON library. This
also shows how to use WebOb as a client library using `WSGIProxy
-<https://pypi.python.org/pypi/WSGIProxy/>`_.
+<https://pypi.org/project/WSGIProxy/>`_.
While this example presents JSON-RPC, this is not an endorsement of
JSON-RPC. In fact I don't like JSON-RPC. It's unnecessarily
@@ -36,7 +36,7 @@ and get the return values. It also provides a way to get error
responses.
The `specification
-<http://json-rpc.org/wiki/specification>`_ goes into the
+<https://www.jsonrpc.org/specification_v1>`_ goes into the
details (though in a vague sort of way). Here's the basics:
* All access goes through a POST to a single URL.
@@ -318,7 +318,7 @@ code:
class JsonRpcApp(object):
"""
- Serve the given object via json-rpc (http://json-rpc.org/)
+ Serve the given object via json-rpc (https://www.jsonrpc.org/)
"""
def __init__(self, obj):
diff --git a/docs/reference.txt b/docs/reference.txt
index 13112e3..35ef861 100644
--- a/docs/reference.txt
+++ b/docs/reference.txt
@@ -53,9 +53,9 @@ use this exclusively of other libraries. If those other libraries
also keep their state in the environment, multiple wrappers can
coexist. Examples of libraries that can coexist include
`paste.wsgiwrappers.Request
-<https://bitbucket.org/ianb/paste/src/0e5a48796ab969d874c6b772c5c33561ac2d1b0d/paste/wsgiwrappers.py?at=default&fileviewer=file-view-default#wsgiwrappers.py-64>`_
+<https://github.com/cdent/paste/blob/master/paste/wsgiwrappers.py#L64>`_
(used by Pylons) and `yaro.Request
-<https://pypi.python.org/pypi/yaro>`_.
+<https://pypi.org/project/yaro>`_.
The WSGI environment has a number of required variables. To make it
easier to test and play around with, the ``Request`` class has a
diff --git a/docs/whatsnew-1.8.txt b/docs/whatsnew-1.8.txt
index 50fb24a..e8c83fc 100644
--- a/docs/whatsnew-1.8.txt
+++ b/docs/whatsnew-1.8.txt
@@ -24,7 +24,7 @@ Backwards Incompatibilities
- Many changes have been made to the way WebOb does Accept handling, not just
for the ``Accept`` header itself, but also for ``Accept-Charset``,
``Accept-Encoding`` and ``Accept-Language``. This was a `Google Summer of
- Code <https://developers.google.com/open-source/gsoc/>`_ project completed by
+ Code <https://summerofcode.withgoogle.com/>`_ project completed by
Whiteroses (https://github.com/whiteroses). Many thanks to Google for running
GSoC, the Python Software Foundation for organising and a huge thanks to Ira
for completing the work. See https://github.com/Pylons/webob/pull/338 and
diff --git a/docs/wiki-example.txt b/docs/wiki-example.txt
index 1afa22d..bacd751 100644
--- a/docs/wiki-example.txt
+++ b/docs/wiki-example.txt
@@ -350,7 +350,7 @@ page doesn't exist. ``exc.HTTPTemporaryRedirect`` is a response that
gives a ``307 Temporary Redirect`` response with the given location.
Otherwise we fill in a template. The template language we're going to
-use in this example is `Tempita <https://pypi.python.org/pypi/Tempita>`_, a
+use in this example is `Tempita <https://pypi.org/project/Tempita>`_, a
very simple template language with a similar interface to
:py:class:`string.Template`.