CEF 79.x Missing Set-Cookie headers in HTTP GET Response

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF 79.x Missing Set-Cookie headers in HTTP GET Response

Postby user6294 » Mon Feb 15, 2021 3:45 pm

Hi

A simple HTTP GET Method Request we our CEF app sends during startup is missing the Set-Cookie headers in CEF 79 version, but in CEF 58,
it's there (highlighted blue) but missing in CEF 79:

Code
CefRefPtr<CefRequest> request = CefRequest::Create();

request->SetURL(url);
request->SetMethod("GET");
request->SetFlags(/* UR_FLAG_ALLOW_CACHED_CREDENTIALS */ UR_FLAG_ALLOW_STORED_CREDENTIALS);

CefRefPtr<CefURLRequestClient> client(new ResultChecker2(*this, loginWindow));
CefRefPtr<CefURLRequest> urlRequest = CefURLRequest::Create(request, client, CefRequestContext::GetGlobalContext());

CEF 58.x
: HTTP response code = 200, cef error code = 0
: HTTP response status text = FK
: GET API call to xyz succeeded for path : /config-api/v1/xyz-config
: response headers (count) = 21
: Content-Encoding=gzip
: Content-Length=75
: Content-Type=application/json;charset=utf-8
: Date=Mon, 15 Feb 2021 18:32:39 GMT
: ETag=W/"42-RvmcWIxYA8D4lmgNA5ogK4fnXBs--gzip"
: Expires=Thu, 01 Jan 1970 00:00:00 GMT
: Server=nginx
: Set-Cookie=ADRUM_BTa=R:48|g:f5500a54-311c-411c-9f90-8b7ec7a177be|n:customer1_3f5d5ee2-41b3-4e59-ad10-de0b93053644; Path=/; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0
: Set-Cookie=ADRUM_BT1=R:48|i:2180|e:25|d:16; Path=/; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0
: Set-Cookie=ADRUM_BTa=R:0|g:49ca3f8a-4076-4ba9-a0fc-0991762fe004; Path=/; Expires=Mon, 15-Feb-2021 18:33:09 GMT; Max-Age=30
: Set-Cookie=ADRUM_BTa=R:0|g:49ca3f8a-4076-4ba9-a0fc-0991762fe004|n:customer1_3f5d5ee2-41b3-4e59-ad10-de0b93053644; Path=/; Expires=Mon, 15-Feb-2021 18:33:09 GMT; Max-Age=30
: Set-Cookie=ADRUM_BT1=R:0|i:2180; Path=/; Expires=Mon, 15-Feb-2021 18:33:09 GMT; Max-Age=30
: Set-Cookie=ADRUM_BT1=R:0|i:2180|e:25; Path=/; Expires=Mon, 15-Feb-2021 18:33:09 GMT; Max-Age=30
: Set-Cookie=ABC_XYZ_APP_LOAD_CONTROL=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT
: Strict-Transport-Security=max-age=15768000; includeSubDomains
: Vary=Accept-Encoding
: Vary=User-Agent
: X-Content-Type-Options=nosniff
: X-Download-Options=noopen
: X-UA-Compatible=IE=edge,chrome=1
: X-XSS-Protection=1; mode=block
: _downloadBuffer size (bytes) = 66
user6294
Mentor
 
Posts: 79
Joined: Sun Mar 18, 2018 6:57 pm

Return to Support Forum

Who is online

Users browsing this forum: nadkoszulek and 26 guests