Webrick -vs- Mongrel

Why is it when I request the URI environment variable, ala:

request.env[‘REQUEST_URI’]

WebRick returns the protocol, port and host – whereas mongrel returns
only the path???

WebRick = http://127.0.0.1:3000/foo/1
Mongrel = /foo/1

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs