Uploaded image for project: 'Lucee Development'
  1. LDEV-1373

cfhttp does not work where method is "get" and httpparam has "body" type

    Details

    • Type: Incompatibility
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.2.31
    • Fix Version/s: 5.2.6.32
    • Labels:
    • Sprint:
      January 2018 Sprint

      Description

      Running the Following Code

      <cfhttp url="http://www.websitechecker.com" method="get" result="results">
              	<cfhttpparam type="body" value="Authorization: sso-key tesetuser:1234">
                  <cfhttpparam type="header" name="Content-Type" value="application/json">
              </cfhttp>
      

      works perfectly fine in ACF Coldfusion all versions

      but when the same code is run in Lucee Latest release,

      I get the following error:

      *

      Lucee 5.2.1.9 Error (application)
      Message	type body is only supported for type post and put
      

      *

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                21solutions Igal Sapir
                Reporter:
                gavy81 Gurpreet Randhawa
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: