If it was a viral infection it wouldn't respond to antibiotics. This might not have been the case for you, but I've been surprised how readily doctors prescribe anti-biotics for everything. Sometimes the best thing to do is just rest, but patients demand pills...