[ 
https://issues.apache.org/jira/browse/COUCHDB-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791859#action_12791859
 ] 

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 
http://www.newmediacampaigns.com/page/browser-rest-http-accept-headers 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: https://issues.apache.org/jira/browse/COUCHDB-348
>             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, encs.erl
>
>
> 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.

Reply via email to