Internal "http" call

A lot of people make cfhttp call to their own page, so we produce a request that connect the own server from outside. Sometimes it would be handy and faster to have a more direct way to produce a full request that does not involve the webserver and servlet engine by passing the request internally.

Something like this:

invokes(scriptName:"/test/index.cfm",method:"post",url:{a:1},form:{},...);

We already have everything in place to “simulate” a request, this is for example done by JSR223. So this would be not a big deal to implement.

1 Like