Coder Social home page Coder Social logo

Comments (7)

mdub avatar mdub commented on May 22, 2024

Hmmm. Works for me, and the Travis CI build (which tests against multiple versions of Rack) seems happy.

Can you say more about your environment? What version of Ruby are you testing with? Can you attach a Gemfile.lock?

from sham_rack.

pravi avatar pravi commented on May 22, 2024

Gemfile was missing in the .gem file, but I took the Gemfile from this repo.

ruby -v
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

rest-client is 2.0.2 which might be the culprit here. Attaching Gemfile.lock
Gemfile.lock.txt

from sham_rack.

pravi avatar pravi commented on May 22, 2024

okay its confirmed as an issue with rest-client version.

from sham_rack.

mdub avatar mdub commented on May 22, 2024

Thanks. I've reproduced the problem.

from sham_rack.

mdub avatar mdub commented on May 22, 2024

Looks like ShamRack is handling req.body but not req.body_stream (which I didn't even know was a thing). So, it's a proper bug.

from sham_rack.

mdub avatar mdub commented on May 22, 2024

Fixed in b399893.

from sham_rack.

mdub avatar mdub commented on May 22, 2024

Fix released in sham_rack-1.4.1.

from sham_rack.

Related Issues (6)

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.