Bug: Chrome Incognito Mode is not sending custom request header along with the request.

This issue has been created since 2022-11-08.

React version:
"react": "^17.0.2",

Steps To Reproduce

  1. Visit this example staging application: jaunt.ixorasolution.com using chrome and inspect the network request.
  2. Inspect this request : vehicle-types/
  3. The request header would look something like this:
    GET /v1/api/public/vehicle-types/ HTTP/1.1 Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 Authorization: Bearer xxxxx.................. Connection: keep-alive Host: jaunt.ixorasolution.com:2007 Origin: http://jaunt.ixorasolution.com Referer: http://jaunt.ixorasolution.com/ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 X-Timezone: Asia/Dhaka

Here 'X-Timezone' is added with the request.

The current behavior

if I visit the same page using Chrome incognito and inspect the same network request. Then I don't find 'X-Timezone' inside the network request header.

The expected behavior

if I visit the same page using Chrome incognito and inspect the same network request. Then I should find 'X-Timezone' inside the network request header.

Pranav-yadav wrote this answer on 2022-11-09

@MuhtasimMusfiqZarab
It seems obvious behavior (current) in Incognito Mode. Not sure if it's relevant but you can checkout this:

The X-Geo header will never be sent in Incognito mode.

X-Timezone seems somewhat related to X-Geo

MuhtasimMusfiqZarab wrote this answer on 2022-11-11

@Pranav-yadav I am one of the team members of the project. I have created this custom header X-Timezone. It's only provides the region from which the user is accessing the site. @Pranav-yadav X-Timezone is not related to X-Geo. I have tried to send a string in a custom header named X-Abc. It produces the same result. It is not shown inside incognito.

More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-12-10
Star Count 198882
Watcher Count 6638
Fork Count 41302
Issue Count 1120

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[Bug]: The value obtained by the temperature sensor is incorrect. 0 2022-11-21 2022-12-01
Export pre-trained model for loading in Pytorch 0 2022-04-11 2022-05-10
Incorrect storage behavior in Operate mode 4 2021-06-29 2022-10-06
Version 2.0 crashes during geometric consistent on CUDA 7 2022-01-02 2022-10-22
EthereumStratum/1.0.0 fix for ProgPoW 1 2019-01-03 2022-09-02
3B1q2/BR1NNq1P/k3b2n/r1r2nqB/1p1P1R2/Q5B1/B4P1b/3Kb1rQ b - - 0 1 2 2021-08-14 2022-10-26
After I create new tiddler using edit button, I cannot use QuickConnect button. 5 2020-11-02 2022-12-09
Runtime Error when trying to run setup.py 2 2022-06-24 2022-11-08
unknown action: change-prompt(Reload: ) 1 2021-09-21 2022-12-10
Induce Bitwarden to autofill a password as an extraction code in the PsiTransfer web page. 1 2022-08-29 2022-11-16
Support for secret scanning 5 2021-10-05 2022-10-18
"Unsupported op" error with TorchScript ResNet-18 example 4 2021-12-02 2022-10-25
Pasting rows into existing slate bullet point lists indents them / user can not (un) indent multiple rows at once 0 2022-11-15 2022-11-19
In schema, can't set default value for a field to non-true 0 2022-11-15 2022-11-19
Pinning Feature? 22 2021-03-14 2022-01-20
special characters breaks translation 2 2021-08-02 2022-10-17
Possible to add custom translation 1 2021-09-13 2022-11-01
TypeError: Cannot read property 'height' of undefined 3 2020-06-05 2022-11-23
saves the result of last execution 1 2022-04-13 2022-11-05
(Bug report) Cannot find "Upload file" options 1 2022-02-07 2022-11-19
In 200% zoom, 'Got feedback' tab item button is getting overlapped by some other text after receiving keyboard focus. 2 2022-01-25 2022-11-02
Markdown Renderer not coping with yaml 7 2021-04-08 2022-11-29
Graphical bug on Dragon Quest 2 in Vulkan/Opengl 2 2022-03-18 2022-11-02
Limit to Consumer Groups attached to IoT Hub's Event Hub Compatible Name Space? 4 2022-09-23 2022-12-05
New empty theme : Fatal error Uncaught UnexpectedValueException 1 2021-10-27 2022-12-03
Unable to use module on Apply M1. 2 2022-04-11 2022-11-28
Question about X-Call-Id headers 11 2021-02-05 2022-12-02
[Feature] Kyverno Policy creation behavior for CustomResource when CRD is not present 9 2022-05-19 2022-10-24
Some questions about this method 3 2020-04-24 2022-12-10
SynapseToSQL_ADF - @TargetTable param is not compatible between Synapse and Stored Procedure 2 2022-01-27 2022-12-02
Fails to build using clang 4 2022-02-03 2022-11-22
Assimp (asset import library) crashes code generator 2 2022-01-24 2022-11-22
Why can't my project recognize Navigation resources? 14 2021-10-11 2022-11-11
`okta_profile_mapping` fails to set in `okta_app_oauth`: Invalid properties in expression 3 2022-05-18 2022-06-06
No application found error from `okta_app` data source 2 2022-05-16 2022-09-01
Allow for fetching new client_secret from exsiting okta_app_oauth 3 2022-05-20 2022-06-06
Error: failed to create user custom schema 1 2022-05-17 2022-06-06
Admin role is removed/added on alternating "apply"s 3 2022-05-16 2022-06-06
Paginator jumping when size of page number changing 2 2021-11-26 2022-12-02
Extend Draw Visualiser to allow inspecting non-Drawable objects 4 2021-12-20 2022-10-08
Api call hangs (not completes) when used in RouteAsync. 2 2022-11-08 2022-12-03
bump database 09-14-2018 1 2018-09-14 2022-07-31
Get codec from active call object 1 2022-11-25 2022-12-06
[npx install] Allow to be installed trough yarn dlx and pnpm dlx 2 2022-07-05 2022-11-01
Various minor UI fixes required 0 2022-10-25 2022-12-10
[Bug] 非 React 组件中获取 @umijs/plugin-model 中的状态 1 2022-08-02 2022-09-27
macOS Python tests regression 1 2022-02-15 2022-11-23
OSS-Fuzz issue 47191 0 2022-05-02 2022-10-07
Wix Modules 1 2016-11-27 2022-01-13
Rename default branch to main. 0 2021-03-11 2022-12-07