What is the purpose of the Response.AddHeaders() method?

ASP.net MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
ASP.netsoftware-engineering-mcqs › asp-net
Published
18 Apr 2019
Last updated
28 May 2026

Browse all ASP.net MCQs

Choose the correct answer

Explanation

The Response.AddHeaders() method is used to insert HTTP headers directly into the output stream sent to the client, allowing control over HTTP response metadata.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.