Your boss is stupid. Does he want you to come in and cough your filthy germs into the rest of the office, or to take the day off entirely? There are plenty of states of "sick" where I'm not going to the office (contagious, constant need for the bathroom, headache exacerbated by fluorescent lights) but could get most or even all of a regular days work done at home.