couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Goodall (JIRA)" <>
Subject [jira] Commented: (COUCHDB-348) / should redirect to a human readable page when accessed from a browser
Date Thu, 17 Dec 2009 09:22:18 GMT


Matt Goodall commented on COUCHDB-348:

A good example of IE's accept header is:

    Accept: image/jpeg, application/x-ms-application, image/gif,
            application/xaml+xml, image/pjpeg, application/x-ms-xbap,
            application/x-shockwave-flash, application/msword, */*

I took that from but
there are plenty of other examples if you search for "internet explorer accept header".

@paul, yes the server can decide what to return when */* is the best match. Some servers implement
a server-side quality, e.g. q=0.9, to decide what representation to return.

And, even though I brought this up, I'm actually with Noah on "If it doesn't work for all
clients, it doesn't work."

> / should redirect to a human readable page when accessed from a browser
> -----------------------------------------------------------------------
>                 Key: COUCHDB-348
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Chris Anderson
>             Fix For: 0.11
>         Attachments: COUCHDB_348_01.patch, COUCHDB_348_02.patch, COUCHDB_348_03.patch,
> As more people are adopting CouchDB, the number of questions along the lines of "All
I see is {"couchdb":"Welcome","version":"0.10.0a773399"}, what now?"
> If this page redirected to /_utils/ (or maybe something more user-focussed) when the
accept headers included html, we could make the first-time user experience more palatable.
> There's some code in COUCHDB-234 that might be helpful here.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message