OK then can we have a HEADERS scope then rather than explicitly trying to get them with getHTTPRequestData() and for consistency can we then have getHTTPQueryData() and getHTTPPostData() ?
No it’s not. At all. REQUEST - a scope for storing variables that are specific to, and should stick around for the life of, the REQUEST. That is its intention that I have understood since my very first day with CFML. Having a distinction for the various forms of request input is useful. Mixing them into one for your application trivial via Struct append, request.append(), etc.
I’m not dead against having the other scopes mixed in to the request (certainly for it as a feature flag), but I feel that the language would lose some precision by enforcing it and to no great benefit.
On 9 February 2015 at 23:31, Adam Cameron <@Adam_Cameron1 mailto:Adam_Cameron1> wrote:
That’s kinda “let’s pretend it’s something other than what it’s name suggests… you know… because”. Which is the same rationale I’ve heard from everyone who has an opinion on it.
I think the request scope has been a white elephant since CF5, and it makes sense to “reclaim” it to be something more along the lines that the HTTP spec suggests it might be intended for.
–
Adam
On 9 February 2015 at 23:24, Dominic Watson <@Dominic_Watson mailto:Dominic_Watson> wrote:
I’ve always treated the request scope as a scope for variables that are request specific, but not provided by external input. Much as PRC is designed for use in ColdBox (and others).
I think it makes perfect sense that way and wouldn’t be a fan of changing it.
On 9 February 2015 at 17:15, Jonas Hauß <@Jonas_Hauss mailto:Jonas_Hauss> wrote:
+1
–
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee%2Bunsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3fbba43b-0aa5-4ccb-aee7-a44cbceeade7%40googlegroups.com https://groups.google.com/d/msgid/lucee/3fbba43b-0aa5-4ccb-aee7-a44cbceeade7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.
–
Pixl8 Interactive, 3 Tun Yard, Peardon Street, London
SW8 3HT, United Kingdom
T: +44 [0] 845 260 0726 <>• W: www.pixl8.co.uk http://www.pixl8.co.uk/• E: info@pixl8.co.uk mailto:info@pixl8.co.uk
Follow us on: Facebook http://www.facebook.com/pixl8 Twitter http://www.twitter.com/pixl8 LinkedIn http://www.linkedin.com/pixl8
CONFIDENTIAL AND PRIVILEGED - This e-mail and any attachment is intended solely for the addressee, is strictly confidential and may also be subject to legal, professional or other privilege or may be protected by work product immunity or other legal rules. If you are not the addressee please do not read, print, re-transmit, store or act in reliance on it or any attachments. Instead, please email it back to the sender and then immediately permanently delete it. Pixl8 Interactive Ltd Registered in England. Registered number: 04336501. Registered office: 8 Spur Road, Cosham, Portsmouth, Hampshire, PO6 3EB
–
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAEYvUxnZpwaqReSiQRDA1kVSWDRZLwL5%3DFakNGyAf5RbK%3DtUxQ%40mail.gmail.com https://groups.google.com/d/msgid/lucee/CAEYvUxnZpwaqReSiQRDA1kVSWDRZLwL5%3DFakNGyAf5RbK%3DtUxQ%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAFwR%2BKdhmad-%2BU3XiKvyv%2BbqxRAJKmKaNcC%3DQ6Di%3D50zobLS_Q%40mail.gmail.com https://groups.google.com/d/msgid/lucee/CAFwR%2BKdhmad-%2BU3XiKvyv%2BbqxRAJKmKaNcC%3DQ6Di%3D50zobLS_Q%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.
–
Pixl8 Interactive, 3 Tun Yard, Peardon Street, London
SW8 3HT, United Kingdom
T: +44 [0] 845 260 0726 <>• W: www.pixl8.co.uk http://www.pixl8.co.uk/• E: info@pixl8.co.uk mailto:info@pixl8.co.uk
Follow us on: Facebook http://www.facebook.com/pixl8 Twitter http://www.twitter.com/pixl8 LinkedIn http://www.linkedin.com/pixl8
CONFIDENTIAL AND PRIVILEGED - This e-mail and any attachment is intended solely for the addressee, is strictly confidential and may also be subject to legal, professional or other privilege or may be protected by work product immunity or other legal rules. If you are not the addressee please do not read, print, re-transmit, store or act in reliance on it or any attachments. Instead, please email it back to the sender and then immediately permanently delete it. Pixl8 Interactive Ltd Registered in England. Registered number: 04336501. Registered office: 8 Spur Road, Cosham, Portsmouth, Hampshire, PO6 3EB
–
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAEYvUxmhaVg6obxabrRw04AbpSjF-VCe1hAnPhfvV5mzBfEkww%40mail.gmail.com https://groups.google.com/d/msgid/lucee/CAEYvUxmhaVg6obxabrRw04AbpSjF-VCe1hAnPhfvV5mzBfEkww%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.