Discussion:
[bottlepy] when the user browser navigate how to know from which previous page he comes
MrGurkanify
2017-03-06 19:10:07 UTC
Permalink
hi

i would like to know , is there a trick for determining from which previous
page the browser comes to when he did the request for a new ?

thanks
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Iuri
2017-03-06 19:15:11 UTC
Permalink
The previous page is called HTTP referer. It is passed as an HTTP header.
You can access it *request.headers.get("Referer")* . It can be null.
Post by MrGurkanify
hi
i would like to know , is there a trick for determining from which
previous page the browser comes to when he did the request for a new ?
thanks
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...