GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python Wiki
  • PSF Wiki
  • Jython Wiki
  • Python Wiki
  • Archive

This view

  • Original page
  • New address

GeezerVison is showing wiki.python.org — Response

View as Markdown

Response¶

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Building Response object is a common way to return information from URL handler back to web framework for returning to client:

  • Django: https://docs.djangoproject.com/en/1.7/ref/request-response/#httpresponse-objects

  • Flask: http://flask.pocoo.org/docs/0.10/api/#response-objects

  • Bottle: http://bottlepy.org/docs/dev/tutorial.html#tutorial-response

  • webapp2/WebOb: http://webapp-improved.appspot.com/api/webapp2.html#webapp2.Response

Default Content-Type

Django

text/html; charset=utf-8

Flask

text/html; charset=utf-8

Bottle

text/html; charset=utf-8
application/json
<empty>

webapp2/WebOb

text/html; charset=utf-8

Previous
Representation Error
Next
Restricted Execution
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.