summaryrefslogtreecommitdiff
path: root/docs/narr/webob.rst
AgeCommit message (Collapse)Author
2017-06-27Update all external links per `make linkcheck`Steve Piercy
- Most are changing http to https, or readthedocs.org to readthedocs.io, and some for Python packaging reorganizing some docs into tutorials, as well as miscellaneous changes.
2016-12-27narr/webob - update for cookiecuttersSteve Piercy
2016-04-23Fix all the stinky linkie rot via `make linkcheck ↵Steve Piercy
SPHINXBUILD=$VENV/bin/sphinx-build`, but don't bother with HISTORY.txt or whatsnew-xx
2016-01-24Use proper syntax names in code samples to allow highlighting and avoid ↵Steve Piercy
errors. See https://github.com/sphinx-doc/sphinx/issues/2264
2015-10-15minor grammar, rewrap 79 cols, update dead external links, .rst syntax, git ↵Steve Piercy
mah intersphinx on yo!
2015-07-15fix for #1846, incorrect pointers to nonexistent webob propertiesChris McDonough
2014-12-1679 colsChris McDonough
2014-12-17Add documentation on handling CORS pre-flightsAdrian Teng
2014-04-15DOC: Response.content_type defaults to text/htmlwesturner
2013-08-15prefer the functionish printPhilip Jenvey
2013-04-05fix some cross-referencesTshepang Lekhonkhobe
2013-04-01Consistently link middleware term to the glossaryCatalin Iacob
2013-03-22remove unused ignore-next-block directiveTshepang Lekhonkhobe
2013-01-30use the more appropriate directivesTshepang Lekhonkhobe
2012-02-24docs-deprecate tmpl_contextChris McDonough
2011-09-05move unrelated request cleanup to webob.rest; reorder urldispatch chapter ↵Chris McDonough
from most-important-concept-to-least
2011-07-21urllib2 example of creating a request suitable for producing a json bodyChris McDonough
2011-07-20add more index markersChris McDonough
2011-07-10Modified docs to reference webob's new website.Michael Merickel
2011-07-09make less confusingChris McDonough
2011-07-09request.json -> request.json_body; add some docs for json_bodyChris McDonough
2011-06-13- Remove IResponder abstraction in favor of more general IResponseChris McDonough
abstraction. - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned object. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The Pyramid router now, by default, expects response objects returned from view callables to implement the ``pyramid.interfaces.IResponse`` interface. Unlike the Pyramid 1.0 version of this interface, objects which implement IResponse now must define a ``__call__`` method that accepts ``environ`` and ``start_response``, and which returns an ``app_iter`` iterable, among other things. Previously, it was possible to return any object which had the three WebOb ``app_iter``, ``headerlist``, and ``status`` attributes as a response, so this is a backwards incompatibility. It is possible to get backwards compatibility back by registering an adapter to IResponse from the type of object you're now returning from view callables. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The ``pyramid.interfaces.IResponse`` interface is now much more extensive. Previously it defined only ``app_iter``, ``status`` and ``headerlist``; now it is basically intended to directly mirror the ``webob.Response`` API, which has many methods and attributes. - Documentation changes to support above.
2011-06-11- Pyramid now expects Response objects to have a __call__Chris McDonough
method which implements the WSGI application interface instead of the three webob attrs status, headerlist and app_iter. Backwards compatibility exists for code which returns response objects that do not have a __call__. - pyramid.response.Response is no longer an exception (and therefore cannot be raised in order to generate a response). - Changed my mind about moving stuff from pyramid.httpexceptions to pyramid.response. The stuff I moved over has been moved back to pyramid.httpexceptions.
2011-05-31the canonical import location for HTTP exceptions/responses is now ↵Chris McDonough
pyramid.response
2011-05-13- Added documentation for a "multidict" (e.g. the API of ``request.POST``) asChris McDonough
interface API documentation.
2011-01-21- Add docs for ``add_finished_callback``, ``add_response_callback``,Chris McDonough
``route_path``, ``route_url``, and ``static_url`` methods to ``pyramid.request.Request`` API docs.
2010-12-10add commaCasey Duncan
2010-12-10clarify reponse.status/status_intCasey Duncan
2010-12-10remove extraneous space, change against to withCasey Duncan
2010-12-10like to e.g., add comma, add aCasey Duncan
2010-12-10add commaCasey Duncan
2010-12-10fix space before commaCasey Duncan
2010-12-05Add the other useful webob URL attributes.Ben Bangert
2010-11-28Normalized narrative doc, code with linenos while text+bash don'tBlaise Laflamme
2010-11-09- All references to Pyramid-the-application were changed from :mod:`pyramid`Chris McDonough
to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to allow for this. (internal)
2010-11-02- Remove references to 'WebOb' Response and just call it 'Response', and noteChris McDonough
that it is imported from pyramid. API docs can mention its inheritance from webob (aka "Provide a webob.Response class facade for forward compat").
2010-10-29pylons paster templatesChris McDonough
2010-10-28sessioning docsChris McDonough
2010-10-25add httpexceptions docsChris McDonough
2010-10-25convert narrative docs to PyramidChris McDonough
2010-10-13point at request API docsChris McDonough
2010-09-05DocumentationChris McDonough
------------- - Add an API chapter for the ``repoze.bfg.request`` module, which includes documentation for the ``repoze.bfg.request.Request`` class (the "request object"). - Modify the "Request and Response" narrative chapter to reference the new ``repoze.bfg.request`` API chapter. Some content was moved from this chapter into the API documentation itself. Features -------- - A new ``repoze.bfg.request.Request.add_response_callback`` API has been added. This method is documented in the new ``repoze.bfg.request`` API chapter. It can be used to influence response values before a concrete response object has been created. Internal -------- - The (internal) feature which made it possible to attach a ``global_response_headers`` attribute to the request (which was assumed to contain a sequence of header key/value pairs which would later be added to the response by the router), has been removed. The functionality of ``repoze.bfg.request.Request.add_response_callback`` takes its place.
2010-03-20fixes for webob chapterCarlos de la Guardia
2010-01-19Bug FixesChris McDonough
--------- - When the ``Configurator`` is passed an instance of ``zope.component.registry.Components`` as a ``registry`` constructor argument, fix the instance up to have the attributes we expect of an instance of ``repoze.bfg.registry.Registry`` when ``setup_registry`` is called. This makes it possible to use the global Zope component registry as a BFG application registry. Documentation ------------- - Change renderings of ZCML directive documentation. - Add a narrative documentation chapter: "Using the Zope Component Architecture in ``repoze.bfg``"
2010-01-18Prep for b1Chris McDonough
Merge a bunch of paper-based docs fixes Configure logging during bfgshell.
2010-01-16Traversal mini-overhaul.Chris McDonough
2010-01-16Massive overhaul to deal with the reality that we don't map URLs directly to ↵Chris McDonough
code.
2010-01-11Merge of andrew-docs branch.Chris McDonough
2009-12-30Less restrictive license; add Ian attribution.Chris McDonough
2009-12-28Fix margin overruns.Chris McDonough