OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_headredact.cpp File Reference
Include dependency graph for test_headredact.cpp:

Go to the source code of this file.

Functions

 TEST (http, headredact1)
 
 TEST (http, headredact2)
 

Variables

static const std::string in1
 
static const std::string out1
 
static const std::string in2
 
static const std::string out2
 

Function Documentation

◆ TEST() [1/2]

TEST ( http  ,
headredact1   
)

Definition at line 49 of file test_headredact.cpp.

◆ TEST() [2/2]

TEST ( http  ,
headredact2   
)

Definition at line 55 of file test_headredact.cpp.

Variable Documentation

◆ in1

const std::string in1
static
Initial value:
= "HEADERS: POST /pg HTTP/1.1\r\n"
" Host: 3.91.106.178\r\n"
" User-Agent: japicli\r\n"
" Authorization: Basic cGc6cHJqN1hKQUpuRkRsZ2V5MXZLaVlVcGhL\r\n"
" Content-Type: application/json\r\n"
" Content-Length: 49\r\n"
" Accept-Encoding: lz4\r\n"
" Accept: */*\r\n"
" \r\n"

Definition at line 9 of file test_headredact.cpp.

◆ in2

const std::string in2
static
Initial value:
= "HEADERS: POST /pg HTTP/1.1\r\n"
" Host: 3.91.106.178\r\n"
" User-Agent: japicli\r\n"
" authorization=basic cGc6cHJqN1hKQUpuRkRsZ2V5MXZLaVlVcGhL\r\n"
" Content-Type: application/json\r\n"
" Content-Length: 49\r\n"
" Accept-Encoding: lz4\r\n"
" Accept: */*\r\n"
" \r\n"

Definition at line 29 of file test_headredact.cpp.

◆ out1

const std::string out1
static
Initial value:
= "HEADERS: POST /pg HTTP/1.1\r\n"
" Host: 3.91.106.178\r\n"
" User-Agent: japicli\r\n"
" Authorization: Basic [REDACTED]\r\n"
" Content-Type: application/json\r\n"
" Content-Length: 49\r\n"
" Accept-Encoding: lz4\r\n"
" Accept: */*\r\n"
" \r\n"

Definition at line 19 of file test_headredact.cpp.

◆ out2

const std::string out2
static
Initial value:
= "HEADERS: POST /pg HTTP/1.1\r\n"
" Host: 3.91.106.178\r\n"
" User-Agent: japicli\r\n"
" authorization=basic [REDACTED]\r\n"
" Content-Type: application/json\r\n"
" Content-Length: 49\r\n"
" Accept-Encoding: lz4\r\n"
" Accept: */*\r\n"
" \r\n"

Definition at line 39 of file test_headredact.cpp.