no pointless assignments
Don't rely on rack.input to check for a body, just check the http headers instead. fixes #21