Commit Graph

4 Commits

Author SHA1 Message Date
allencloud c39194cc4c Fixes #1868
1.Fixes cors bug
2.Add cors test

Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
2016-02-25 10:35:57 +08:00
Nishant Totla 3d7678389f Removing backspaces in /info output for new API version
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-01-31 23:54:33 -08:00
Nishant Totla 4467298b62 Extracting apiversion from HTTP request
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-01-28 11:14:56 -08:00
Morgan Bauer 4dcf5a2c05
OPTIONS response when cors is enabled
- pulled out router setup into separate method for testing
 - unit test without cors
 - unit test for cors + OPTIONS
 - resolves #1442

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2015-12-08 13:09:37 -08:00