couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnewson <...@git.apache.org>
Subject [GitHub] couchdb pull request: Backport Accept check from chttpd
Date Fri, 28 Nov 2014 16:43:14 GMT
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb/pull/284#issuecomment-64911996
  
    I proposed this semantic on the ticket;
    
    if Accept line is *exactly* "application/json", then send application/json, otherwise
send text/html.
    
    That puts a surmountable requirement on XHR calls and doesn't require browsers to send
sensible Accept headers (which they probably never will).
    
    At this point, someone from the Fauxton team should chip in, perhaps all this ugliness
is really because of Futon and we can make a clean break?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message