• 6. “Illustrated HTTP” – User Authentication


    tjhttp 6. “Illustrated HTTP” – User Authentication 6.1 Overview Common user authentication methods: password dynamic token digital certificate Biological witness IC card There are usually the following authentication methods in HTTP1.1: BASIC Certification (Basic Certification): DIGEST authentication (digest authentication): SSL client authentication FormBase authentication (form authentication) 6.2 SSL authentication Since SSL certification is the most […]

  • Day 86/100 “Illustrated HTTP” reading notes (4) – HTTP message header information


    The HTTP communication process includes requests sent from the client to the server and responses from the server back to the client. 1、HTTPmessage The information used for HTTP protocol interaction is called HTTP message. The HTTP message at the requesting end (client) is called a request message, and the one at the responding end (server) […]

  • How to handle file upload in Tomcat?


    Like it first, watch it later, and develop a good habit foreword In the past two days, I saw a question about Tomcat in the question and answer area, which is quite interesting. It just so happens that I haven’t thought about this issue before, so today I will talk about the “why” in combination […]

  • 5. “Illustrated HTTP” – RSS and Network Attacks


    tjhttp 5. “Illustrated HTTP” – RSS and Network Attacks This section is about the discussion of RSS and common network attacks. RSS seems to always be considered as “why it hasn’t disappeared”, but after personal understanding and experience, I found that it is surprisingly useful. The part about network attacks sometimes becomes the test point […]

  • Where is the HTTP body?


    Problem Description Business Feedback When the Golang service parses the request parameters, an “EOF” error occasionally occurs. It is suspected that the gateway or the intermediate link has lost the HTTP request body. The business error log statistics are as follows: To explain, the Golang service is based on the gin framework, and the method […]

  • 7. “Illustrated HTTP” – HTTP Header and HTTP Collaboration Server


    tjhttp 7. “Illustrated HTTP” – HTTP header and HTTP collaborative server knowledge points There are many types of request header fields. This chapter introduces the following headers, which contain a lot of content. Just be familiar with common request headers. Introduction to the first field Non-HTTP1.1 header fields General header request header response header Payload […]

  • Manage API test cases with org-mode


    What are API test cases? Today, when the Internet is popular, as a programmer of an e-commerce platform, you must often deal with HTTP APIs. A common situation is to do API testing. Aside from what can be replaced by unit tests, many times it is necessary to actually issue HTTP requests. These things responsible […]

  • [RFC document reading] HTTP Cache


    Cache type private cache means that the cache will not be shared with other users share cache Proxy cacheIt is the cache of the intermediate proxy server, but because of the popularity of https, these proxy servers can basically only forward requests Managed cachedIt is the cache configured by the source server: nginx, cdn, service […]

  • Example usage of ETAG in HTTP request response header field


    ETAG is a concept under the category of Conditional Request. A conditional request is one in which the browser can ask the server if it has a newer copy of the resource. The browser will send some information about cached resources it holds, and the server will determine if it should return updated content or […]

  • An article explaining clearly what is a cookie?


    1. What are cookies? HTTP Cookie (also called Web Cookie or Browser Cookie) is a small piece of data sent by the server to the user’s browser and stored locally. It will be carried and sent to the server when the browser makes another request to the same server next time. . scenes to be […]

  • How to use the command line tool Hz to quickly develop Hertz services – HTTP framework practice


    CloudWeGo Study GroupIt is a learning group initiated by the CloudWeGo community. It carries out source code interpretation and learning activities with a period of 30 days to help new members integrate into the community circle, interact with community Committers, and learn several major framework projects of CloudWeGo. At present, the second phase of CSG […]

  • Three major problems of Swarm to be solved, Bzz head mine bonus, Bzz return cycle


    The decentralized storage project known as Vitalik Buterin, the founder of Ethereum Square, has become popular. A slew of high-profile hashtags has really made the group a buzz. However, behind the aura of the project, there are a lot of uncertainties and risks, which are easy to be selectively ignored. Swarm, located in the decentralized […]