Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Network Programming in .NET With C# and Visual Basic .NET phần 3
Đang chuẩn bị liên kết để tải về tài liệu:
Network Programming in .NET With C# and Visual Basic .NET phần 3
Ngọc Ánh
78
56
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
TXT, và nhấp vào nó, bạn sẽ thấy một mớ lộn xộn của các ký tự lạ, không phải là hình ảnh. Điều này là bởi vì Windows có chứa một ánh xạ từ tập tin mở rộng để loại tập tin, và JPG. TXT được ánh xạ tới tập tin khác nhau | 4.2 HTTP 93 ------ Table 4.3 HTTP response codes continued . HTTP response code range Meaning 400-499 Redirection Further action must be taken in order to complete the request. 500-599 Server error The server failed to fulfill an apparently valid request. 4.2.3 Every HTTP response has a response code. In the above example the response code was 200. This number is followed by some human-readable text i.e. OK . The response codes fall into five main categories shown in Table 4.3. MIME types Multipart Internet mail extensions MIME types are a means of describing the type of data such that another computer will know how to handle the data and how to display it effectively to the user. To illustrate the example if you changed the extension of a JPEG image .JPG to .TXT and clicked on it you would see a jumble of strange characters not the image. This is because Windows contains a mapping from file extension to file type and .JPG and .TXT are mapped to different file types image jpeg for .JPG and text plain for .TXT. To find an MIME type for a particular file such as .mp3 you can open the registry editor by clicking on Start Run then typing REGEDIT. Then click on HKEY_CLASSES_ROOT scroll down to .mp3 and the MIME type is written next to Content Type. Note Not all file types have a MIME type e.g. .hlp help files . 4.2.4 System.Web One of the most common uses of HTTP within applications is the ability to download the HTML content of a page into a string. The following application demonstrates this concept. It is certainly possible to implement HTTP at the socket level but there is a wealth of objects ready for use in HTTP client applications and it J Chapter 4 94 4.2 HTTP makes little sense to reinvent the wheel. The HTTP server in the next section is implemented using HTTPWebReqest. Start a new project in Visual Studio .NET and drag on two textboxes tbResult and tbUrl. TbResults should be set with multiline true. A button btnCapture should also be added. Click on the .
TÀI LIỆU LIÊN QUAN
crossorigin="anonymous">
Đã 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.