Comments (7)
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.
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.
okay its confirmed as an issue with rest-client version.
from sham_rack.
Thanks. I've reproduced the problem.
from sham_rack.
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.
Fixed in b399893.
from sham_rack.
Fix released in sham_rack-1.4.1
.
from sham_rack.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sham_rack.