Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
4a5df10c
Commit
4a5df10c
authored
Nov 09, 2013
by
Jean Michel Rouly
Browse files
Implements Python tracking api for redirects.
parent
ebcaf99b
Changes
1
Hide whitespace changes
Inline
Side-by-side
wsgi/redir.py
View file @
4a5df10c
...
...
@@ -37,7 +37,7 @@ def application(environ, start_response):
else
:
if
goconfig
.
piwik
:
library
.
piwik_track
(
environ
)
library
.
piwik_track
(
environ
,
"Redirect: '%s'"
%
short_url
)
status
=
'303 See other'
response_headers
=
[(
'Location'
,
target
)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment