// File: /workspace/github_cpp_makefile_star2_O2/UTAP[P]APHTTP/utils/request.cpp
// Function: Request::log()
void Request::log() {
  const string NC = "\033[0;39m";
  const string K = "\033[1m";
  const string H = "\033[33;1m";
  string log = "";
  log += H + string("------- Request --------") + NC + string("\n");
  log +=
      K + string("Method:\t") + NC + (method ? "POST" : "GET") + string("\n");
  log += K + string("Path:\t") + NC + path + string("\n");
  log += K + string("Headers:") + NC + string("\n");
  for (auto it = headers.begin(); !headers.empty() && it != headers.end(); it++)
    log += "  " + urlDecode(it->first) + ": " + urlDecode(it->second) +
           string("\n");
  log += "[ " + K + string("SessionId:\t") + NC + this->getSessionId() + " ]" +
         string("\n");
  log += K + string("Query:") + NC + string("\n");
  for (auto it = query.begin(); !query.empty() && it != query.end(); it++)
    log += "  " + urlDecode(it->first) + ": " + urlDecode(it->second) +
           string("\n");
  log += K + string("Body:") + NC + string("\n");
  for (auto it = body.begin(); !body.empty() && it != body.end(); it++)
    log += "  " + urlDecode(it->first) + ": " + urlDecode(it->second) +
           string("\n");
  log += H + string("------------------------") + NC + string("\n");
  cerr << log << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, -0x90(%rbp)
leaq 0x80bf(%rip), %rsi      # 0x113d3
leaq -0x160(%rbp), %rdi
leaq -0x180(%rbp), %rdx
callq 0x41a0
leaq 0x80ad(%rip), %rsi      # 0x113db
leaq -0x180(%rbp), %rdi
leaq -0x1c0(%rbp), %rdx
callq 0x41a0
leaq 0x820e(%rip), %rsi      # 0x11556
leaq -0x1c0(%rbp), %rdi
leaq -0x140(%rbp), %rdx
callq 0x41a0
leaq 0x8233(%rip), %rsi      # 0x11595
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rdx
callq 0x41a0
leaq 0x81e2(%rip), %rsi      # 0x1155e
leaq -0xd0(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x41a0
leaq -0x48(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x81e8
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq 0x829f(%rip), %rsi      # 0x11660
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq 0x813c(%rip), %rsi      # 0x11577
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xd0(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x81e8
leaq -0x48(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
movq -0x90(%rbp), %rax
cmpl $0x0, 0x20(%rax)
leaq 0x80b0(%rip), %rax      # 0x11541
leaq 0x80ad(%rip), %rdx      # 0x11545
cmoveq %rax, %rdx
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x7ffd
leaq 0x81b0(%rip), %rsi      # 0x11660
leaq -0x100(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x100(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq 0x804a(%rip), %rsi      # 0x11580
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xd0(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x81e8
leaq -0x48(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq -0x90(%rbp), %rdx
callq 0x8026
leaq 0x80cb(%rip), %rsi      # 0x11660
leaq -0x100(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x100(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq 0x7dfb(%rip), %rsi      # 0x11416
leaq -0xd0(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x41a0
leaq -0x48(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x81e8
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq 0x8000(%rip), %rsi      # 0x11660
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4638
movq -0x90(%rbp), %rax
movq 0x40(%rax), %r14
addq $0x30, %rax
movq %rax, -0xe0(%rbp)
leaq -0x100(%rbp), %r15
leaq -0x120(%rbp), %r12
movq -0x90(%rbp), %rax
cmpq $0x0, 0x50(%rax)
je 0x97f6
cmpq -0xe0(%rbp), %r14
je 0x97f6
leaq 0x20(%r14), %rsi
leaq -0x88(%rbp), %r13
movq %r13, %rdi
callq 0xb31a
movq %rbx, %rdi
leaq 0x8213(%rip), %rsi      # 0x11949
movq %r13, %rdx
callq 0x673e
leaq -0x48(%rbp), %rdi
movq %rbx, %rsi
leaq 0x7a9f(%rip), %rdx      # 0x111eb
callq 0x7ffd
leaq 0x40(%r14), %rsi
movq %r15, %rdi
callq 0xb31a
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq %r15, %rdx
callq 0x8177
movq %r12, %rdi
leaq 0x7ee9(%rip), %rsi      # 0x11660
leaq -0x1a0(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %r13
movq %r13, %rdi
leaq -0x68(%rbp), %rsi
movq %r12, %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
movq %r13, %rsi
callq 0x45f0
movq %r13, %rdi
callq 0x4638
movq %r12, %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
movq %r15, %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
movq %r14, %rdi
callq 0x4280
movq %rax, %r14
jmp 0x96fa
leaq 0x7d8a(%rip), %rsi      # 0x11587
leaq -0x100(%rbp), %rdi
leaq -0x180(%rbp), %rdx
callq 0x804f
leaq 0x7d73(%rip), %rsi      # 0x1158a
leaq -0x120(%rbp), %rdi
leaq -0xd2(%rbp), %rdx
callq 0x41a0
leaq -0x88(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x120(%rbp), %rdx
callq 0x8177
leaq -0xd0(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq -0x1a0(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x9072
leaq -0x48(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0x1a0(%rbp), %rdx
callq 0x8177
leaq 0x7d07(%rip), %rdx      # 0x11596
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x7ffd
leaq 0x7dbd(%rip), %rsi      # 0x11660
leaq -0x1e0(%rbp), %rdi
leaq -0xd1(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x1e0(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x1e0(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0x1a0(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x120(%rbp), %rdi
callq 0x4638
leaq -0x100(%rbp), %rdi
callq 0x4638
leaq 0x7c4c(%rip), %rsi      # 0x11599
leaq -0xd0(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x41a0
leaq -0x48(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x81e8
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq 0x7cce(%rip), %rsi      # 0x11660
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4638
movq -0x90(%rbp), %rax
movq 0x70(%rax), %r14
addq $0x60, %rax
movq %rax, -0xe0(%rbp)
leaq -0x100(%rbp), %r15
leaq -0x120(%rbp), %r12
movq -0x90(%rbp), %rax
cmpq $0x0, 0x80(%rax)
je 0x9b2b
cmpq -0xe0(%rbp), %r14
je 0x9b2b
leaq 0x20(%r14), %rsi
leaq -0x88(%rbp), %r13
movq %r13, %rdi
callq 0xb31a
movq %rbx, %rdi
leaq 0x7ede(%rip), %rsi      # 0x11949
movq %r13, %rdx
callq 0x673e
leaq -0x48(%rbp), %rdi
movq %rbx, %rsi
leaq 0x776a(%rip), %rdx      # 0x111eb
callq 0x7ffd
leaq 0x40(%r14), %rsi
movq %r15, %rdi
callq 0xb31a
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq %r15, %rdx
callq 0x8177
movq %r12, %rdi
leaq 0x7bb4(%rip), %rsi      # 0x11660
leaq -0x1a0(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %r13
movq %r13, %rdi
leaq -0x68(%rbp), %rsi
movq %r12, %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
movq %r13, %rsi
callq 0x45f0
movq %r13, %rdi
callq 0x4638
movq %r12, %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
movq %r15, %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
movq %r14, %rdi
callq 0x4280
movq %rax, %r14
jmp 0x9a2c
leaq 0x7a6e(%rip), %rsi      # 0x115a0
leaq -0xd0(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x41a0
leaq -0x48(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x81e8
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq 0x7ae9(%rip), %rsi      # 0x11660
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4638
movq -0x90(%rbp), %rax
movq 0xa0(%rax), %r14
addq $0x90, %rax
movq %rax, -0xe0(%rbp)
leaq -0x100(%rbp), %r15
leaq -0x120(%rbp), %r12
movq -0x90(%rbp), %rax
cmpq $0x0, 0xb0(%rax)
je 0x9d15
cmpq -0xe0(%rbp), %r14
je 0x9d15
leaq 0x20(%r14), %rsi
leaq -0x88(%rbp), %r13
movq %r13, %rdi
callq 0xb31a
movq %rbx, %rdi
leaq 0x7cf4(%rip), %rsi      # 0x11949
movq %r13, %rdx
callq 0x673e
leaq -0x48(%rbp), %rdi
movq %rbx, %rsi
leaq 0x7580(%rip), %rdx      # 0x111eb
callq 0x7ffd
leaq 0x40(%r14), %rsi
movq %r15, %rdi
callq 0xb31a
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq %r15, %rdx
callq 0x8177
movq %r12, %rdi
leaq 0x79ca(%rip), %rsi      # 0x11660
leaq -0x1a0(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %r13
movq %r13, %rdi
leaq -0x68(%rbp), %rsi
movq %r12, %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
movq %r13, %rsi
callq 0x45f0
movq %r13, %rdi
callq 0x4638
movq %r12, %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
movq %r15, %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
movq %r14, %rdi
callq 0x4280
movq %rax, %r14
jmp 0x9c16
leaq 0x770a(%rip), %rsi      # 0x11426
leaq -0xd0(%rbp), %rdi
leaq -0x100(%rbp), %rdx
callq 0x41a0
leaq -0x48(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x81e8
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x8026
leaq 0x78ff(%rip), %rsi      # 0x11660
leaq -0x88(%rbp), %rdi
leaq -0x120(%rbp), %rdx
callq 0x41a0
leaq -0xb0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x8177
leaq -0x140(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x45f0
leaq -0xb0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
movq 0xe215(%rip), %rdi      # 0x17ff0
leaq -0x140(%rbp), %rsi
callq 0x4300
movq %rax, %rdi
callq 0x4200
leaq -0x140(%rbp), %rdi
callq 0x4638
leaq -0x1c0(%rbp), %rdi
callq 0x4638
leaq -0x180(%rbp), %rdi
callq 0x4638
leaq -0x160(%rbp), %rdi
callq 0x4638
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9f98
jmp 0x9fa9
jmp 0x9fba
jmp 0x9fc8
jmp 0x9fd6
jmp 0xa04d
jmp 0x9f98
jmp 0x9fa9
jmp 0x9fba
jmp 0x9fc8
jmp 0x9fd6
jmp 0xa04d
jmp 0x9f98
jmp 0x9fa9
jmp 0x9fba
jmp 0x9fc8
jmp 0x9fd6
jmp 0xa04d
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4638
jmp 0x9e9f
movq %rax, %rbx
leaq -0x1e0(%rbp), %rdi
callq 0x4638
jmp 0x9eb0
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x4638
jmp 0x9ebe
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x4638
jmp 0x9ecc
movq %rax, %rbx
leaq -0x1a0(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x120(%rbp), %rdi
callq 0x4638
leaq -0x100(%rbp), %rdi
jmp 0xa090
movq %rax, %rbx
jmp 0x9ed8
movq %rax, %rbx
jmp 0x9ee4
movq %rax, %rbx
jmp 0x9ef0
movq %rax, %rbx
jmp 0x9efc
jmp 0xa04d
jmp 0x9f98
jmp 0x9fa9
jmp 0x9fba
jmp 0x9fc8
jmp 0x9fd6
jmp 0xa04d
jmp 0x9f56
jmp 0x9f67
jmp 0x9f78
jmp 0xa071
jmp 0xa026
jmp 0xa021
jmp 0xa04d
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4638
jmp 0x9f6a
movq %rax, %rbx
leaq -0x100(%rbp), %rdi
callq 0x4638
jmp 0x9f7b
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
jmp 0xa06a
jmp 0xa071
jmp 0xa026
jmp 0xa021
jmp 0xa04d
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4638
jmp 0x9fac
movq %rax, %rbx
leaq -0x88(%rbp), %rdi
callq 0x4638
jmp 0x9fbd
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x4638
jmp 0x9fcb
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x4638
jmp 0x9fd9
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
jmp 0xa090
jmp 0xa04d
movq %rax, %rbx
jmp 0xa0a1
movq %rax, %rbx
jmp 0xa0ad
movq %rax, %rbx
jmp 0xa0b9
jmp 0xa04d
jmp 0xa021
jmp 0xa026
jmp 0xa02b
jmp 0xa03c
jmp 0xa04d
jmp 0xa052
jmp 0xa057
jmp 0xa071
jmp 0xa021
jmp 0xa026
jmp 0xa02b
jmp 0xa03c
jmp 0xa04d
jmp 0xa052
jmp 0xa057
jmp 0xa071
movq %rax, %rbx
jmp 0xa089
movq %rax, %rbx
jmp 0xa07d
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4638
jmp 0xa03f
movq %rax, %rbx
leaq -0x120(%rbp), %rdi
callq 0x4638
jmp 0xa05a
movq %rax, %rbx
jmp 0xa095
movq %rax, %rbx
jmp 0xa063
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x4638
leaq -0x100(%rbp), %rdi
callq 0x4638
jmp 0xa074
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x4638
leaq -0xd0(%rbp), %rdi
callq 0x4638
leaq -0x88(%rbp), %rdi
callq 0x4638
leaq -0x140(%rbp), %rdi
callq 0x4638
leaq -0x1c0(%rbp), %rdi
callq 0x4638
leaq -0x180(%rbp), %rdi
callq 0x4638
leaq -0x160(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4580
nop