Uh oh!
There was an error while loading. Please reload this page.
Allow header - #188
Conversation
ajnirp
commented
Dec 10, 2014
I couldn't figure out how to get the empty |
reem
commented
Dec 10, 2014
Can you rebase this to get rid of the merge commit? |
There was a problem hiding this comment.
you should be able to just use method::Method::..
ajnirp
commented
Dec 10, 2014
Rebased, also added a bench |
There was a problem hiding this comment.
This can be just 'self[]' because of Deref.
seanmonstar
commented
Dec 10, 2014
What test was failing? |
ajnirp
commented
Dec 10, 2014
@seanmonstar I tried to test for an empty vec. which was giving the above-mentioned error. I couldn't figure out what was wrong with this, so I removed the test before pushing. |
seanmonstar
commented
Dec 10, 2014
Could it be that it's parsing Can't wait rust-lang/rfcs#504 |
ajnirp
commented
Dec 10, 2014
Just checked, that was indeed the problem. Should we include this test, then? (asserting against |
seanmonstar
commented
Dec 10, 2014
We should have the test that the vec is empty. That it's parsing into an Extension sounds like a bug in |
seanmonstar
commented
Dec 10, 2014
Sorry, wrong place. The bug is here: https://github.com/hyperium/hyper/blob/master/src/method.rs#L82 |
ajnirp
commented
Dec 10, 2014
Patched that, and also addressed the |
seanmonstar
commented
Dec 10, 2014
woo! thanks |
#174