Re: Help! Where is the rest part in url?
On Sun, Jun 2, 2013 at 9:41 PM, 曹亚文 <bob.caoyawen@gmail.com> wrote:
> I have a url like this "http://abcde.com/data/#p1=123&p2=456". How to get
> the 'p1' and 'p2'?
> I have spend over 4 hours on it. Be ware, not ".../?p1...", but ".../#p1..."
it's called the "fragment part", it identifies a fragment of a
resource. browsers don't send that part to the server, since the idea
is to retrieve the whole resource and then scroll to the specified
fragment.
IOW: you don't see it in Django because the browser keeps it for itself.
--
Javier
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home