Added test for invalid method
Added defines for common content-types
Missed some text/plain content-types strings