什么是HTTP?它在Web开发中的作用是什么?
What is HTTP? What is its role in web development?
- *考察点:基础概念理解。*
共 48 道题目
What is HTTP? What is its role in web development?
What are the differences between HTTP and HTTPS? How does HTTPS ensure security?
What are the common HTTP request methods? What are the differences between GET and POST?
What are the differences between PUT and POST request methods? What scenarios are they used for?
What are the classifications of HTTP status codes? What are the common status codes?
What do 2xx, 3xx, 4xx, 5xx status codes mean respectively?
What are the differences between 301 and 302 redirects? When to use them?
What is the basic structure of HTTP requests and responses?
What are HTTP request headers? What are the common request headers?
What are HTTP response headers? What are the common response headers?
What is the role of the User-Agent request header?
What are URL and URI? What are the differences between them?
What are the components of a URL? What is the role of each part?
What is Cookie? What is the role of Cookie?
What are the differences between Cookie and Session?
What is Content-Type? What are the common Content-Types?
What are the differences between query parameters and request body in HTTP requests?
What is the workflow of HTTP? What steps are involved from entering a URL to page display?
What is HTTP Keep-Alive? What problems does it solve?
How does HTTP caching mechanism work? What are the differences between strong cache and negotiated cache?
What are the differences between Cache-Control and Expires? How to configure caching strategies?
What are the roles of ETag and Last-Modified? How do they implement negotiated caching?
What is CORS? Why do cross-origin problems occur?
How to solve CORS cross-origin problems? What are the solutions?
What is the same-origin policy? What does it restrict?
What are the differences between HTTP/1.0 and HTTP/1.1? What new features were added in HTTP/1.1?
What is HTTP pipelining? What are its advantages and disadvantages?
What are the differences between Content-Encoding and Transfer-Encoding?
What is HTTP authentication? What are the differences between Basic and Bearer authentication?
What are XSS and CSRF attacks? How does HTTP prevent these attacks?
What is the role of Range requests? How to implement resumable uploads?
What is HTTP proxy? What are the differences between forward proxy and reverse proxy?
How does HTTP compression work? What are the common compression algorithms?
What improvements does HTTP/2 have over HTTP/1.1? How is multiplexing implemented?
What is HTTP/2 server push? What problems does it solve?
What advantages does HTTP/3 based on QUIC protocol have? What problems of HTTP/2 does it solve?
How to design a high-performance HTTP service? What factors need to be considered?
How to optimize HTTP performance in large-scale web applications? What strategies are available?
What is CDN? How does it improve HTTP request performance?
How to design a distributed HTTP caching system? What issues need to be considered?
What strategies are available for HTTP load balancing? How to choose appropriate load balancing algorithms?
How to implement idempotency of HTTP requests? What is its significance in distributed systems?
What is the TLS handshake process in HTTP secure transmission? How to optimize handshake performance?
How to design RESTful API HTTP interfaces? What principles need to be followed?
What challenges exist in HTTP communication in microservice architecture? How to ensure reliability of inter-service communication?
How to monitor and diagnose HTTP performance issues? What are the key metrics?
What is the role of HTTP gateway? How to design a highly available API gateway?