https://issues.apache.org/bugzilla/show_bug.cgi?id=46977

           Summary: JMeter does not handle HTTP headers not delimited by
                    whitespace
           Product: JMeter
           Version: 2.3.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: doogb...@gmail.com


According to RFC 2616, headers are field-name ":" [ field-body ] CRLF
It specifically says: "Each header field consists of a name followed by a colon
(":") and the field value. "

This permits headers of the form:

User-Agent:XYZ

even though we are mostly used to seeing:

User-Agent: XYZ

Unfortunately, JMeter cannot handle headers in the first form - as evidenced by
the following header (emitted from a mobile device emulator):

User-Agent:OPWV-SDK/62 UP.Browser/6.2.2.1.208 (GUI) MMP/2.0

which appears in the Browser-derived Headers (after capture via HTTP Proxy
Server) as:

Name: User-Agent:OPWV-SDK/6  [Note how the 2 has vanished]
Value: UP.Browser/6.2.2.1.208 (GUI) MMP/2.0

I suspect this is in the header manager where it splits the headers on "\t" or
" " which, though convenient, is not in line with the spec.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to