Adding a convenience function for Accept header