Title:
You cannot mix the use of cfhttpparam tags of type file or form field with cfhttpparam tags of type body or XML
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): saritha bollineni / saritha bollineni (saritha bollineni)
Created: 03/17/2015
Components: Net Protocols, HTTP
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:You cannot mix the use of cfhttpparam tags of type file or form field with cfhttpparam tags of type body or XML
Steps to Reproduce:<cfhttp method="put" url="#destURL#" result="httpCrtResp" timeout="600">
<cfhttpparam type="header" name="Authorization" value="Bearer #access_token#" />
<cfhttpparam type="header" name="accept" value="application/json" />
<cfhttpparam type="header" name="Content-Type" value="multipart/form-data" />
<cfhttpparam type="formfield" name="listname" value="#listname#" />
<cfhttpparam type="formfield" name="headings" value="Y" />
<cfhttpparam type="formfield" name="fieldseparator" value="COMMA" />
<cfhttpparam type="formfield" name="quotecharacter" value="DOUBLE_QUOTE" />
<cfhttpparam type="formfield" name="uploadspecs" value="#restHdr#" />
<cfhttpparam type="formfield" name="mergespecs" value="#mergespecs#" />
<cfhttpparam type="file" name="file" file="#csvZipFile#"
mimetype="application/zip" />
Actual Result: 400 Bad Request
Expected Result: Successful Job Id
Any Workarounds: No
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3954631
External Customer Info:
External Company:
External Customer Name: saritha
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows Server 2008 R2 Enterprise Service Pack1, ColdFusion 10 Update 15
Attachments:
Comments: