https://bz.apache.org/bugzilla/show_bug.cgi?id=60941
Bug ID: 60941
Summary: Conten-Type is added forcibly by HttpClient for GET
requests with no arguments
Product: JMeter
Version: 3.1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34890
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34890&action=edit
A sampler example
Using HttpClient4 implementation for GET-requests with no arguments adds
Content-Type and Content-Length headers unconditionally:
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Initially a sampler has 'Accept: application/json, text/plain, */*' header, as
was captured from browser traffic by HTTP Proxy Server component.
Adding the 'Content-Type' header causes 415 HTTP error for our web-application.
There is no error for 3.0 JMeter version and earlier.
--
You are receiving this mail because:
You are the assignee for the bug.