PRB: Application Center Test May Stop Responding If 302 Response Is Missing Content Header (326197)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition

This article was previously published under Q326197

SYMPTOMS

Application Center Test (ACT) may stop responding (hang) if a Web server returns an HTTP 302 response with an empty or missing content header.

CAUSE

If your 302 response does not have a content length header or content, the ACT state computer ignores the reconnect state action (which is to reconnect to the new host) when the connection is closed by the original server.

RESOLUTION

Revise your Web server code so that it returns non-empty content with a 302 response.

STATUS

Microsoft has confirmed that this is a bug in Application Center Test Developer Edition.

MORE INFORMATION

NOTE: By default, Microsoft Internet Information Services (IIS) will not return 302 responses with empty content. However, you can write IIS filters that override the default behavior and return 302 responses with empty content.

REFERENCES

The RFC 2616 "10 Status Code Definitions" section states:
10.3.3.302 Found

"The temporary URI SHOULD be given by the Location field in the
   response. Unless the request method was HEAD, the entity of the
   response SHOULD contain a short hypertext note with a hyperlink to
   the new URI(s)."
				

Modification Type:MajorLast Reviewed:10/7/2002
Keywords:kbprb KB326197