Giter Site home page Giter Site logo

Content Encoding Error about compression HOT 4 CLOSED

expressjs avatar expressjs commented on April 26, 2024
Content Encoding Error

from compression.

Comments (4)

dougwilson avatar dougwilson commented on April 26, 2024

I'm really sorry, but nothing has changed recently. There was a new version of this module yesterday, but the version in connect is not affected by this and it's only change is to add debugging.

I verified that this module is compressing and working in Firefox. Unless you provide some code test case that demonstrates the issue we can use to reproduce or you identify the issue and tell us what to fix, there is nothing we can act on.

from compression.

dougwilson avatar dougwilson commented on April 26, 2024

Also to be clear I'm' not definitively saying there is no issue with this module, but I have no idea what it would be. You do not have to post your IP code, but if you can make a simple example that demonstrates the issue would be necessary for us to investigate.

from compression.

dylang avatar dylang commented on April 26, 2024

👍 I agree with what you wrote. Thanks for taking the time to reply.

I created this issue to see if there was a good resource I could use to debug the cause of the problem because I agree it's probably not caused by compression or connect and it's probably caused by the part of our code that I can't share. It's been a few years since I've built middleware for connect and was hoping there was something I wasn't aware of to assist with debugging.

For now my team is going to disable compression until we have more time to look into it. This is just for development and SauceLabs testing, not production, so it's not a big deal. Thanks again!

from compression.

dougwilson avatar dougwilson commented on April 26, 2024

No problem. As for what is the cause, I really don't know where to start, because the only real thing that would go wrong here is if you are replacing res.end or res.write in your code and simply implementing it with false assumptions (like replacing the reference at some point with the core implementation instead of the previous implementation).

from compression.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.