Web Client Programming with Perl-Chapter 3: Learning HTTP- P1

Tham khảo tài liệu 'web client programming with perl-chapter 3: learning http- p1', công nghệ thông tin, quản trị web phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 3 Learning HTTP- P1 In the previous chapter we went through a few examples of HTTP transactions and outlined the structure that all HTTP follows. For the most part all web software will use an exchange similar to the HTTP we showed you in Chapter 2 Demystifying the Browser. But now it s time to teach you more about HTTP. Chapter 2 was like the Spanish for Travelers phrasebook that you got for your trip to Madrid this chapter is the textbook for Spanish 101 required reading if you want course credit. HTTP is defined by the HTTP specification distributed by the World Wide Web Consortium W3C at . If you are writing commercialquality HTTP applications you should go directly to the spec since it defines which features need to be supported for HTTP compliance. However reading the spec is a tedious and often unpleasant experience and readers of this book are assumed to be more casual writers of HTTP clients so we ve pared it down a bit to make HTTP more accessible for the spec-wary. This chapter includes Review of the structure of HTTP transactions. This section also serves as a sort of road map to the rest of the chapter. Discussion of the request methods clients may use. Beyond GET HEAD and POST we also give examples of the PUT DELETE TRACE and OPTIONS methods. Summary of differences between various versions of HTTP. Clients and servers must declare which version of HTTP they use. For the most part what you ll see is HTTP but at least you ll know what that means. We also cover HTTP the newest version of HTTP to date. Listing of server response codes and discussion of the more common codes. These codes are the first indication of what to do with the server s response if any so robust client programs should be prepared to intercept them and interpret them properly. Coverage of HTTP headers for both clients and servers. Headers give clients the opportunity to declare who they are and what they want and they give servers the chance to tell clients

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
15    22    4    03-12-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.