Giter Site home page Giter Site logo

Comments (6)

macournoyer avatar macournoyer commented on May 21, 2024

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.

ibc avatar ibc commented on May 21, 2024

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.

scomma avatar scomma commented on May 21, 2024

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.

jorgemanrubia avatar jorgemanrubia commented on May 21, 2024

I experienced this issue too.

from thin.

macournoyer avatar macournoyer commented on May 21, 2024

It should be fixed on v2 branch or gem install thin --pre if you want to give it a try.

from thin.

jorgemanrubia avatar jorgemanrubia commented on May 21, 2024

Thanks @macournoyer. I will try

from thin.

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.