couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Formatting_with_Show_and_List" by JanLehnardt
Date Wed, 23 Nov 2011 12:42:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Formatting_with_Show_and_List" page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/Formatting_with_Show_and_List?action=diff&rev1=28&rev2=29

Comment:
refer to advanced redirects

    start({"code": 302, "headers": {"Location": "/"}});
  }
  }}}
+ 
+ See [[Advanced_Shows_and_Lists_Throwing_Redirects]]
+ 
  === Specifying Content-Type Response Header ===
  There are two ways to deal with a content-type header in the response to a show or list
request. The first way is to specify the content type as a member of the _show function's
response object:
  

Mime
View raw message