home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


accept

 $

query


->accept(['

content_type

'])

Returns a list of media types that the browser accepts.

content_type

If specified, returns instead the browser's preference for the specified content type, between 0.0 and 1.0.