Computer AwarenessVery hardSSC CGL Tier 2 · IBPS PO Mains · IBPS/SBI

In the URL https://www.example.com:8443/docs/index.html?lang=en#chapter3, which part is NOT sent to the web server in the HTTP request?

  1. A. :8443
  2. B. #chapter3
  3. C. ?lang=en
  4. D. /docs/index.html

Correct answer: B. #chapter3

The fragment after # is handled by the browser, which scrolls to the named anchor, and is not transmitted to the server. The path and query string are sent in the request line, and the port is used to open the connection.

हिंदी में

URL https://www.example.com:8443/docs/index.html?lang=en#chapter3 में कौन-सा भाग HTTP अनुरोध में वेब सर्वर को नहीं भेजा जाता?

  1. A. :8443
  2. B. #chapter3
  3. C. ?lang=en
  4. D. /docs/index.html

उत्तर: B. # के बाद का खंड (fragment) ब्राउज़र ही सँभालता है, जो नामित एंकर तक स्क्रॉल करता है, और सर्वर को प्रेषित नहीं किया जाता। पथ और क्वेरी स्ट्रिंग अनुरोध पंक्ति में भेजे जाते हैं, और पोर्ट कनेक्शन खोलने में प्रयुक्त होता है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic