[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-04-09 Thread Paudi Moriarty (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12697421#action_12697421
 ] 

Paudi Moriarty commented on TAP5-469:
-

I agree.  I spent as much time as I could on it and had to move on.  Let us 
know if you find out more.

 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty
Assignee: Howard M. Lewis Ship
 Fix For: 5.1.0.3


 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-04-08 Thread Andy Blower (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12696993#action_12696993
 ] 

Andy Blower commented on TAP5-469:
--

I have just encountered this issue in IE6, FF3  Chrome2 on windows XP. The 
workaround fixes the issue as expected, but there definitely seems to be a 
problem here out of the box.

 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-04-08 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12697171#action_12697171
 ] 

Howard M. Lewis Ship commented on TAP5-469:
---

Ok, I'll set the default to no longer compress application/json. I have feelers 
out in the Prototype mailing lists and elsewhere to figure out what's going on.

 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty
Assignee: Howard M. Lewis Ship

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-27 Thread Paudi Moriarty (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667622#action_12667622
 ] 

Paudi Moriarty commented on TAP5-469:
-

Interesting, this was observed in FF2 and FF3 on Linux and IE6 on Windows.  I 
haven't seen it work with any browser which lends credence to your suggestion 
of server interference.

I'm using the maven-jetty-plugin to run jetty-6.1.11 with no custom 
configuration.  Tried jetty-6.1.14with the same result.

 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-27 Thread Paudi Moriarty (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667656#action_12667656
 ] 

Paudi Moriarty commented on TAP5-469:
-

I've noticed that the response is always chunked, only 10 bytes (with a correct 
gzip header) arriving in the first chunk when viewed in wireshark.  The next 
chunk seems to have a zero length but wireshark reports a bad TCP checksum.

Only gzipped application/json responses are chunked.

I've replicated this with jetty-7.0.0.pre5 and using jetty-6.1.11 standalone 
(without maven).  What configuration did you test?

I'm now using a TextStreamResponse to bypass compression while setting 
Content-Type to application/json for Prototype as I don't really have time to 
delve too deeply into this.



 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-26 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667497#action_12667497
 ] 

Howard M. Lewis Ship commented on TAP5-469:
---

Unable to get it to reproduce on Mac OS X at all (FF3 and IE6), with the 
compression verified using FireBug and the Java debugger.

See notes here: http://www.ruby-forum.com/topic/149617

I suspect there's a misconfigured server between your Tapestry application and 
your client that is responsible for the garbling.

I'll leave this open a little bit longer, but right now it is headed for could 
not reproduce.

Workaround: contribute application/json to the ResponseCompressionAnalyzer; 
this will identify the content as not compressable, which is what you want.



 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-26 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667483#action_12667483
 ] 

Howard M. Lewis Ship commented on TAP5-469:
---

This doesn't reproduce under FireFox 3, Mac OS X.

Use IE 6 on Mac OS X I can see a problem, which I assume to be THE problem.



 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-26 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667487#action_12667487
 ] 

Howard M. Lewis Ship commented on TAP5-469:
---

IE 7 on Windows works correctly.

I really think this is just an IE 6 issue.

 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-469) ResponseCompressionAnalyzer: application/json responses should be uncompressable by default

2009-01-26 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667492#action_12667492
 ] 

Howard M. Lewis Ship commented on TAP5-469:
---

Have to retest; forgot that my test app disabled GZIP compression entirely!


 ResponseCompressionAnalyzer: application/json responses should be 
 uncompressable by default
 ---

 Key: TAP5-469
 URL: https://issues.apache.org/jira/browse/TAP5-469
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Paudi Moriarty

 GZip compressed responses with Content-Type: application/json are not handled 
 correctly by at least Firefox or IE and should be configured as 
 uncompressable by default
 When the response is received in prototype's Ajax.Request 
 response.responseText is .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.