jschementi / iron

[Jimmy Schementi's development fork] Implementations of Python and Ruby programming languages for .NET Framework that are built on top of the Dynamic Language Runtime.
http://ironruby.net
17 stars 2 forks source link

Is it necessary to wrap the request? #17

Open jschementi opened 15 years ago

jschementi commented 15 years ago

Reported by Durgaprasad Gorti:

In your code you are using the HttpRequestWrapper to wrap the Request and then converting to the env ruby hash for the rack app. I am wondering what your idea is behind wrapping this in a HttpRequestWrapper?

jschementi commented 15 years ago

The "Request" class should really have the majority of the code in IIS.Handle moved to it, as "Request" should know how to build the request.