incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: Detecting whether SSL is being used
Date Tue, 12 Aug 2014 21:43:27 GMT

> On Aug 12, 2014, at 1:57 PM, Kevin Cernekee <cernekee@gmail.com> wrote:
> 
> The ACRA package includes a JavaScript list function[1] which
> generates an RSS feed.  The resultant XML document needs to contain
> absolute URLs to other documents in the CouchDB instance.

It's valid for a feed to contain relative URLs with absolute paths; this can help avoid needing
knowledge of the server's hostname or SSL status.

For example, the URL of an article is allowed to be "/db/article1/body.html" instead of "https://example.com/db/article1/body.html".
The feed processor will interpret this relative to the base URL of the website.

—Jens
Mime
View raw message