use Accept header if it exists
Merge pull request #21 from jrperritt/master

use only Accept header if it exists