aboutsummaryrefslogtreecommitdiffstats
path: root/ci/ci_build.rb
diff options
context:
space:
mode:
authorPaul Sadauskas <psadauskas@gmail.com>2010-02-08 11:08:31 -0700
committerwycats <wycats@gmail.com>2010-04-01 17:42:46 -0700
commitdc5300adb6d46252c26e239ac67e3ca6e5e2d77b (patch)
treed5e538f54a0e6ad521c5608a58a0d7431548aad0 /ci/ci_build.rb
parentab281f511ccb3893ea077fe8a7bb78cdd2db0885 (diff)
downloadrails-dc5300adb6d46252c26e239ac67e3ca6e5e2d77b.tar.gz
rails-dc5300adb6d46252c26e239ac67e3ca6e5e2d77b.tar.bz2
rails-dc5300adb6d46252c26e239ac67e3ca6e5e2d77b.zip
Slightly less annoying check for acceptable mime_types. This allows Accept: application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include */* in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved]
Diffstat (limited to 'ci/ci_build.rb')
0 files changed, 0 insertions, 0 deletions