tedivm/Fetch — pull request #56 by iampersistent (2014-05-07 21:32:12+00:00)
Title: Message decode

I ran into a bug with an encoding value of 0. Basically because php does a loose comparison on switch 0 was returning the first case. I enhanced the test to compare to a string with encoded information using the example in RFC2045 section 6.7 and added tests for numeric values of 0, 3 and 4.