1
0
Fork 0
arangodb/js/server/modules/@arangodb/foxx/router
Alan Plum c36c8c48ee Teach Foxx req.makeAbsolute about unix sockets (#7327)
* Expose rawReq.server.endpoint in JS

* Make rawReq.portType enumerable

This is not strictly necessary but we don't gain much from hiding its existence.

* Allow using http: protocol in local requests

This helps distinguishing local request URLs from file paths in ambiguous contexts.
The alternative would require the user to specify the local endpoint but this doesn't work with
sockets (and for non-sockets would incur the penalty of a real network roundtrip).

* Teach Foxx req.makeAbsolute about unix sockets

* Add Foxx socket tests
2018-11-20 14:20:56 +01:00
..
index.js Reformat code 2016-06-30 16:57:17 +02:00
middleware.js Reformat code 2016-06-30 16:57:17 +02:00
request.js Teach Foxx req.makeAbsolute about unix sockets (#7327) 2018-11-20 14:20:56 +01:00
response.js Improve Foxx cluster resilience (#2479) 2017-05-16 17:41:29 +02:00
route.js Improve Foxx cluster resilience (#2479) 2017-05-16 17:41:29 +02:00
router.js Fix off-by-one in Foxx route 2016-12-20 01:43:14 +01:00
swagger-context.js Add support for Swagger tags 2016-12-12 02:32:50 +01:00
tokenize.js Reformat code 2016-06-30 16:57:17 +02:00
tree.js Fix Foxx routing 2017-02-14 16:36:40 +01:00
validation.js Handle multiple request body models 2016-09-29 14:16:42 +02:00