Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 61bbdcf2
authored
Jul 03, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add debug logs for request headers and forwarded information
1 parent
557aaf37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
opensipkd/base/views/base_views.py
opensipkd/base/views/base_views.py
View file @
61bbdcf
...
@@ -83,6 +83,11 @@ class BaseView(object):
...
@@ -83,6 +83,11 @@ class BaseView(object):
for
key
,
value
in
request
.
headers
.
items
():
for
key
,
value
in
request
.
headers
.
items
():
log
.
debug
(
f
"{key}: {value}"
)
log
.
debug
(
f
"{key}: {value}"
)
log
.
debug
(
"Init xhr:
%
s"
,
self
.
req
.
is_xhr
)
log
.
debug
(
"Init xhr:
%
s"
,
self
.
req
.
is_xhr
)
log
.
debug
(
"X-Forwarded-Scheme
%
s"
,
request
.
scheme
)
log
.
debug
(
"Changes http to https so
%
s"
,
request
.
route_url
(
'base-home'
))
log
.
debug
(
"X-Forwarded-Host
%
s"
,
request
.
host
)
log
.
debug
(
"X-Forwarded-Server
%
s"
,
request
.
server_name
)
self
.
ses
=
self
.
req
.
session
self
.
ses
=
self
.
req
.
session
self
.
db_session
=
DBSession
self
.
db_session
=
DBSession
self
.
base
=
Base
self
.
base
=
Base
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment