1. 18 3月, 2010 1 次提交
  2. 16 3月, 2010 1 次提交
  3. 12 3月, 2010 1 次提交
  4. 11 3月, 2010 1 次提交
  5. 09 3月, 2010 1 次提交
  6. 07 3月, 2010 1 次提交
  7. 04 9月, 2009 2 次提交
  8. 02 9月, 2009 1 次提交
  9. 16 8月, 2009 1 次提交
    • Y
      Got tests to pass with some more changes. · 1310231c
      Yehuda Katz 提交于
        * request.formats is much simpler now
          * For XHRs or Accept headers with a single item, we use the Accept header
          * For other requests, we use params[:format] or fallback to HTML
          * This is primarily to work around the fact that browsers provide completely
            broken Accept headers, so we have to whitelist the few cases we can
            specifically isolate and treat other requests as coming from the browser
          * For APIs, we can support single-item Accept headers, which disambiguates
            from the browsers
        * Requests to an action that only has an XML template from the browser will
          no longer find the template. This worked previously because most browsers
          provide a catch-all */*, but this was mostly accidental behavior. If you
          want to serve XML, either use the :xml format in links, or explicitly
          specify the XML template: render "template.xml".
      1310231c
  10. 24 6月, 2009 1 次提交
  11. 18 6月, 2009 2 次提交
  12. 21 5月, 2009 1 次提交
  13. 02 5月, 2009 1 次提交
  14. 24 3月, 2009 1 次提交