Comments (6)
Indeed, it's a known bug (or unsupported feature if you will). Web browsers never use absolute urls so it's an edge case. Why are you sending this request?
from thin.
Thanks for the response. I don't use Thin for web applications but for XCAP (RFC 4825) which is XPath over HTTP (more or less). It's still a new protocol and I don't know if vendors will implement relative or absolute URI's in the HTTP requests (I expect they will always use relative uri however).
So I have seen no http client using absolute uri yet.
from thin.
I can't believe nobody else runs into this problem when using thin in conjunction with the proxy.pac file?! In which case Rails ends up serving the root page to all requests (including assets).
Started GET "" for 127.0.0.1 at 2012-11-08 02:36:45 +0700
Processing by PagesController#show as */*
Parameters: {"id"=>"home"}
Rendered pages/home.html.erb within layouts/application (0.0ms)
Completed 200 OK in 33ms (Views: 33.1ms | ActiveRecord: 0.0ms)
Started GET "" for 127.0.0.1 at 2012-11-08 02:36:45 +0700
Processing by PagesController#show as */*
Parameters: {"id"=>"home"}
Rendered pages/home.html.erb within layouts/application (0.0ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
Started GET "" for 127.0.0.1 at 2012-11-08 02:36:45 +0700
Processing by PagesController#show as HTML
Parameters: {"id"=>"home"}
Rendered pages/home.html.erb within layouts/application (0.0ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
Started GET "" for 127.0.0.1 at 2012-11-08 02:36:45 +0700
Processing by PagesController#show as */*
Parameters: {"id"=>"home"}
Rendered pages/home.html.erb within layouts/application (0.0ms)
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
from thin.
I experienced this issue too.
from thin.
It should be fixed on v2 branch or gem install thin --pre if you want to give it a try.
from thin.
Thanks @macournoyer. I will try
from thin.
Related Issues (20)
- Thin isssue HOT 1
- SERVER_PORT is incorrectly set to 80 when SSL is used on default port of 443 HOT 3
- No implicit conversion of nil into String <TypeError> HOT 4
- Cannot start as a service
- Can't start Thin Server using Ruby 2.6 HOT 1
- Unable to install thin gem on macOS 11.0 Big Sur beta HOT 12
- Flaky specs HOT 1
- Fix mac install errors or document in readme HOT 2
- Running thin behind a pipe doesn't show messages HOT 4
- Building native extensions fails HOT 4
- Homepage in gemspec is not accessible HOT 2
- Include rack handler test HOT 1
- When the version 1.8.0 or 2.0.0 is released? HOT 8
- rspec doesn't run after cloning the repository HOT 1
- Not working on Debian / Linux Mint - eventmachine error HOT 1
- Multiple SSL certificates HOT 3
- 0712d603a31d97b9fa8a0260da400da2e4217d60
- Issue
- Support rack 3.0.0 HOT 1
- Support Mac M1 HOT 3
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 thin.