1.

Which variable defines the data type of the content?(a) content_type(b) content_length(c) http_cookie(d) http_user_agentI had been asked this question during an interview for a job.My query is from CSS Transition, Perl cgi Programming topic in division CGI Programming & Miscellaneous of CSS

Answer»

Correct choice is (a) content_type

Explanation: The DATA TYPE of the content is DEFINED by content_type variable, used when the client is SENDING attached content to the server, like file upload etc, the LENGTH of the query information is defined by content_length, it’s available only for POST requests.



Discussion

No Comment Found

Related InterviewSolutions