Title: 
  An empty CFHTTP useragent attribute forces use of "Apache-HttpClient/4.3.5 (java 1.5)"
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): James Moberg / James Moberg (James Moberg)
Created: 02/11/2015
Components: Net Protocols, HTTP
Versions: 10.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2008 Server R2
Vote Count: 0
Problem Description:
Perform a CFHTTP GET or POST request with an empty useragent.  If the parameter is omitted, it defaults to "ColdFusion". It an empty parameter is used, "Apache-HttpClient/4.3.5 (java 1.5)" is used as the user agent.  (NOTE: This functions properly in ColdFusion 9, but returns different results in ColdFusion 10. I have not tested ColdFusion 11.)
Steps to Reproduce:
    This returns "ColdFusion" as HTTP_USER_AGENT.
    <cfhttp url="http://posttestserver.com/post.php?dump&html"></cfhttp>
    <cfoutput>#CFHTTP.FileContent#</cfoutput>
    This returns "Apache-HttpClient/4.3.5 (java 1.x)" as HTTP_USER_AGENT.
    <cfhttp url="http://posttestserver.com/post.php?dump&html" useragent=""></cfhttp>
    <cfoutput>#CFHTTP.FileContent#</cfoutput>
Actual Result:
    Apache-HttpClient/4.3.5 (java 1.x)
Expected Result:
   ColdFusion
Any Workarounds:
    Include an additional empty CFHTTPARAM header variable.
    <cfhttpparam type="HEADER" name="http_user_agent" value="">
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID:	3938424
External Customer Info:
External Company:  
External Customer Name: James
External Customer Email:  
External Test Config: My Hardware and Environment details:
ColdFusion 10,0,15,292620 Developer
Windows Server 2008 R2
Java 1.7.0_15
  Attachments:
Comments: