Moved content type validation for service after the response code check
Merge pull request #2 from yorkulcs/master

Moved content type validation for service after the response code check