I have an Accept
header like this:
application/myapp+json;version=2.0
however when I try and use it the constructor for System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
rejects it as invalid. Nancy doesn't seem to mind it.
It seems it doesn't like the semi colon. What is the 'right way' to specify a specific version is desired in the header and what are the rules I should follow to generate 'valid' Accept headers?