[Webkit-unassigned] [Bug 28812] provide request / response payload sizes in Resources panel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 5 08:48:22 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28812





--- Comment #6 from Patrick Mueller <pmuellr at yahoo.com>  2009-10-05 08:48:22 PDT ---
(In reply to comment #5)

OK, I see there are several problems.  

1) In general, at least for this site, XML responses aren't shown where you
expect them.  Note that the execBatch response I can see has a Content-Type:
text/plain and Mime-Type: application/xml.  As far as I know, the Mime-Type
header should be ignored - it doesn't appear to be a standard HTTP 1.1 header -
so you won't get nice looking output for it anyway.

2) some resources are unselectable - the execBatch ones in this case.  Per your
notes, they seem to be using the same URL and method, and only differ by the
request payload

Does that sound right?

BTW, my curl request from comment 4 wasn't valid - it was a GET, and the one at
the site is a POST.  Here's a better one, that actually returns some content:

$ curl -H "Content-Type: application/xml" -d "<lw2p-requests><lw2p-request
action='getCurrentPortal'/></lw2p-requests>" -v
http://www.lumacentral.com/CocaCola/w2p/execBatch
- About to connect() to www.lumacentral.com port 80 (#0)
-   Trying 194.78.34.228... connected
- Connected to www.lumacentral.com (194.78.34.228) port 80 (#0)
> POST /CocaCola/w2p/execBatch HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: www.lumacentral.com
> Accept: */*
> Content-Type: application/xml
> Content-Length: 72
> 
< HTTP/1.1 200 OK
< Date: Mon, 05 Oct 2009 15:36:37 GMT
< Cache-Control: no-cache
< Set-Cookie: JSESSIONID=49ACA557EE891188BDB2B334CF2B4B7E; Path=/CocaCola
< mime-type: application/xml
< Transfer-Encoding: chunked
< Content-Type: text/plain
< 
<?xml version="1.0" encoding="UTF-8"?>
- Connection #0 to host www.lumacentral.com left intact
- Closing connection #0
<lw2p-replies><lw2p-reply action="getCurrentPortal"><portal description=""
id="52" name="CocaCola" version="10"/></lw2p-reply></lw2p-replies>

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



More information about the webkit-unassigned mailing list