travis-api/lib/travis/api/app/responders
Piotr Sarnacki 54a6926aaf Properly handle non existent resources
This commit changes travis-api to always return 404 response if resource
is not available. Previously we were returning image/png with "unknown"
status instead if user used "*/*" Accept header, which was confusing.
2013-03-11 23:52:57 +01:00
..
base.rb Properly handle non existent resources 2013-03-11 23:52:57 +01:00
image.rb Resource can be nil in Responders::Image 2013-03-11 20:57:45 +01:00
json.rb Use version from each of the accept headers, not only first one 2013-02-25 17:28:24 +01:00
plain.rb Allow passing more than one mime type in Accept 2013-02-25 17:27:56 +01:00
service.rb always use etag for caching when cache_key or updated_at are present, add the deploy_sha as a cache buster 2012-12-09 19:22:33 +01:00
xml.rb Allow passing more than one mime type in Accept 2013-02-25 17:27:56 +01:00