Other way around again, I do not agree with they way NanoHTTP does this internally, it looks wrong. You're not checking if Method.POST is equal to something, you're checking if method is equal to Method.POST (yeah yeah same thing, but you get what I mean)