220.127.116.11. Request Section¶
This section contains settings related to the HTTP requests that are made to the target site to retrieve information.
Enter the HTTP request headers  that will be attached to every request that is sent to the target site.
- Header name
- Enter the name of the HTTP header
- Header value
- Enter the value of the HTTP header
If you define a
Cookie header in this setting, its value will be overridden by the
cookies defined in the Cookies setting.
Request headers are used for a variety of purposes. For example, a website might require a specific request header to be defined so that the site sends a valid response, such as an authentication header. Another example is that a site might be using a request header to determine the language of the site. A third example is that a site might be preventing certain requests that do not contain a specific request header, with the purpose of preventing crawlers. These are just a few use-cases. In such cases where you need to send a request header to the target site, you can define the header in this setting.
18.104.22.168.2.1. Importing all request headers¶
You can import all request headers sent to a site by your browser into the Headers setting. Simply, follow these steps:
- Open the Developer Tools  of your browser when viewing the site whose request headers you want, as shown in Fig. 6.9
- Go to the Network tab of the Developer Tools
- Refresh the current browser tab
- In the Network tab of the Developer Tools, you will see a list of requests as shown in Fig. 6.9. Click to the one at the top. A window will be opened next to it. Go to Headers tab as shown in Fig. 6.9.
- In the Headers tab, select and copy the values that are shown under the Request headers section, as shown in Fig. 6.9.
- Go to the Headers setting of the plugin, click its button, and paste the text you copied into the input shown under the button, as shown in Fig. 6.9
- Click to the button again. The request headers will be imported as shown in Fig. 6.10. If the setting has other headers, they will not be removed.
- If there is a
Cookieheader, remove it from the Headers setting. The cookies defined in Cookies setting will override the
Cookieheader defined in this setting. You can use the Cookies setting to define the cookies.
- Optionally, remove the headers that you do not want from the Headers setting.
|||(1, 2) https://developers.google.com/web/tools/chrome-devtools#open|