Renée Hendricksen
4068e880a6
try returning the default
2016-08-22 23:44:50 -04:00
Renée Hendricksen
0ed4558e3a
so many staging requests for images, need to cut the noise
2016-08-22 23:42:47 -04:00
Renée Hendricksen
65dad2530d
some debug output I can grep for on staging
2016-08-22 23:31:32 -04:00
Konstantin Haase
6ddb826f1d
make sure params is always a hash, fixes exceptions
2015-12-16 14:31:04 +01:00
Piotr Sarnacki
857af4fde0
Use Accept entries for getting API version
2015-07-07 12:45:30 +02:00
Piotr Sarnacki
890b7f1d93
Fix Accept header support for logs request
...
When log is aggregated and archived we don't have a way to return it in
JSON format, only text format. Till recently we were returning a text
response or a redirect to S3 even if Accept header was set only to JSON.
This commit fixes it.
2014-09-11 17:44:36 +02:00
Piotr Sarnacki
5f91706e64
Allow to pass version as Accept param
2013-02-25 17:28:24 +01:00
Piotr Sarnacki
1d7be066cb
Make it easy to check if Accept::Entry accepts given mime type
2013-02-25 17:27:56 +01:00
Piotr Sarnacki
c9e99cf2cf
Allow more than one type in Accept header
2013-02-25 17:27:56 +01:00
Piotr Sarnacki
2f21def4a1
Use API v1 by default
2012-11-11 20:39:59 +01:00
Sven Fuchs
8abd6fa150
manual redirects and rewrite rules for supporting v1 style resources
2012-10-10 01:48:22 +02:00