Bug 20202

Summary: Missing http status line from the http headers
Product: WebKit Reporter: Dimcho Balev <dbalev>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Test case none

Description Dimcho Balev 2008-07-28 14:28:55 PDT
Windows only: WebKit is not adding the http status line in front of the HTTP headers that it passes to NPAPI plugins (for example - "HTTP/1.0 200 OK"). This is very important information for plugins like Flash Player since it is the only way to find out what is the HTTP status code for a given HTTP request.

Webkit for Mac works fine - it is a problem only in the windows specific code.

Related bug: 18676
Comment 1 Dimcho Balev 2008-07-28 14:54:39 PDT
Created attachment 22530 [details]
Test case 

1. Install flash player 10 beta
2. Open the swf file in Safari for Mac. 
3. Press the connect button
4. Look for "status=" in the left text pane. Note that it is not 0. (It should be 200 on success)
5. Open the same swf file in Safari for Windows
6. Press the connect button
7. Note that you will always get "status=0" regardless of the result of the http request. This is because Flash player can not find the status line in the http headers so it returns the default value which is 0.
Comment 2 Anders Carlsson 2008-08-28 10:09:56 PDT
<rdar://problem/6182541>
Comment 3 Anders Carlsson 2008-08-28 10:27:22 PDT
Committed revision 25971.