Igor Wiedler
2a66505aca
Set Access-Control-Max-Age header for CORS preflight requests to cache them (refs travis-pro/post-its#169 )
2016-05-18 12:26:06 +02:00
Konstantin Haase
68c6b9239d
allow setting Travis-API-Version header via ajax
2015-02-18 14:59:57 +01:00
Konstantin Haase
14623ed088
Revert "Revert "track and enforce user-agent""
...
This reverts commit 2227d0042f
.
2014-10-28 11:10:25 +01:00
Hiro Asari
2227d0042f
Revert "track and enforce user-agent"
2014-10-27 18:51:32 -04:00
Konstantin Haase
07fff5a7be
track and enforce user-agent
2014-10-27 19:21:23 +01:00
Piotr Sarnacki
0681e54cf1
Run CORS middleware in development
2013-09-20 12:47:14 +02:00
Piotr Sarnacki
e587ef0b7f
Add nginx config with CORS support
2013-09-05 22:48:42 +02:00
Piotr Sarnacki
2f87153df9
Move CORS middleware in front of the stack
...
If there is an error somewhere along the line (like in DB connection
management), it should not interfere with returning proper result for
OPTIONS request. Otherwise it's hard to guess why the actual request in
the browser was not properly sent.
2012-11-05 21:48:13 +01:00