Giter Site home page Giter Site logo

Comments (6)

knzconnor avatar knzconnor commented on May 21, 2024

I've made the change and a test, but my fork is having problems. I can shoot you the patch if you want.

from rack.

knzconnor avatar knzconnor commented on May 21, 2024

http://github.com/downloads/timocratic/rack/0001-test-for-mapping-in-builder.patch
http://github.com/downloads/timocratic/rack/0002-don-t-dupe-env-in-urlmap-so-it-can-be-modifying-down.patch

from rack.

manveru avatar manveru commented on May 21, 2024

I'd like to close this issue, the current behavior is intentional so that urlmap can proxy the same env to each app.
I don't think we can resolve this issue to satisfy everybody, and it's not really a lot of code we're talking about, so how about you subclass and write the method the way you want it to behave?

from rack.

knzconnor avatar knzconnor commented on May 21, 2024

That's funny, on the mailing list I thought ryan was saying he agreed, it should be in the spec that it should use merge! I'll go re-read the chain and try to see what I am misunderstanding. Maybe I did a bad job searching for the issue, but I couldn't find any discussion about why it was intentionally that way, my bad.

I also am not quite sure I get the benefit of using the duplicating version of merge when you want "the same env to each app." Or do you actually mean "a different copy of the env, at the state it was first passed in?"

from rack.

knzconnor avatar knzconnor commented on May 21, 2024

Maybe discuss here? http://groups.google.com/group/rack-devel/browse_thread/thread/e1fc1d0f17b7790d/bb998ce5a632b9dd?hl=en

from rack.

knzconnor avatar knzconnor commented on May 21, 2024

Thanks. Closed by: http://github.com/rack/rack/compare/fa324e371d...7c5a9b8f6b

from rack.

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.