Add HEADERS variable to the Rook request environment#143
Conversation
|
Some notes:
|
|
Thanks this is great! Thank you! |
|
Make sure you test this on CentOS 6 though, some old compilers have trouble with iterators. |
|
@jeroen thank you for the feedback, I'm glad you like it! Since making the PR we've become somewhat ambivalent about adding this now, since the info was already available, albeit in an inconvenient form. We (@jcheng5 and @wch and I) discussed passing for now, and instead holding out for a possible overhaul of the httpuv API that could include it. What are you using it for? Would this be really helpful to you now, or would you be willing to wait? Thanks in advance for sharing your perspective. |
|
I would like to use it for unit testing http requests in the curl package. What's the reason not to include it? It seems like a trivial non-breaking change? |
|
Thanks for your input @jeroen, scratch what I said, we're going to move forward with this 😄 I'll do the CentOS 6 testing in the very near future. |
|
Just checked in my centos 6 vm and all seems good ! |
|
@wch when you have a chance can you please look at the NEWS and documentation additions and let me know if they're good? |
wch
left a comment
There was a problem hiding this comment.
It's good, feel free to merge!
Fixes #141
TODO: