[OpenSTA-devel] [ opensta-Bugs-1386047 ] Pb Default_headers / Host: field when working with >1 site
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2005-12-20 10:50:45
|
Bugs item #1386047, was opened at 2005-12-20 11:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1386047&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTTP Capture Group: Serious Status: Open Resolution: None Priority: 5 Submitted By: Marc MAZAS (mmazas) Assigned to: Nobody/Anonymous (nobody) Summary: Pb Default_headers / Host: field when working with >1 site Initial Comment: When I capture a script involving more than one distant site (let's say 2, site1 and site2 on <host1> and <host2>, IBM WebSphere 5.0 on Windows 2000), the capture : - creates only one DEFAULT_HEADERS constant containing "Host: <host1>", - does not record the Host: header field in the WITH {...} clause of the URIs to site1 - does record the "Host: <host2>" header field in the WITH {...} clause of the URIs to site2 (as the last field). a) When I replay the exact captured script, it seems to work fine. b) Then when I change the order of the fields in the WITH clause of the URIs to site2, I get 400 errors (BAD Req). c) Then when I add a new DEFAULT_HEADERS2 constant not containing any "Host: " field and I use it in all the URIs to site2 instead of the first one, it works fine. I don't really know why it works in a) and not b) (there is or there is not a conflict on the duplicate Host: fields depending on they position) ; however I believe there should not be any duplicate "Host:" field. IHMO the best would be that the capture creates two distinct DEFAULT_HEADERS constants with their respective "Host:" field, and no "Host:" field in the WITH clauses. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1386047&group_id=10857 |