Fixed case statement around return value for httpc:request call.