cfhttp for local requests bypass network

Description

cfhttp should detect if a request is local and in that case bypass the network and make a direct in memory request, see BIF _internalRequest.

Activity

Show:

Brad Wood 6 September 2019 at 18:08

That exists and it's called Hyper slightly smiling face
https://www.forgebox.io/view/hyper
You can create a default HTTP definition and then re-use it.

Zac Spitzer 6 September 2019 at 12:59

that could be confusing, coz currently unless you do the leg work to pass url, cookie and form variables, a local cfhttp request comes thru with only what you specify as cfhttpparams.

if you be nice if there was a way to create a cfhttp request object which could be reused, i.e. preloaded with cookies and or basic params, to keep a session going without having to repeat it. it would be good for working with remote api's for example

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Priority

Created 6 September 2019 at 12:30
Updated 14 July 2021 at 15:45

Flag notifications