Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47480

Re: Redirecting to a third party site with injected HTML

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Redirecting to a third party site with injected HTML
Date 2013-06-09 14:53 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-FEEB5F.14532109062013@news.panix.com> (permalink)
References <422dd712-2bc5-4c48-b6ca-62face5320c7@googlegroups.com> <mailman.2926.1370798546.3114.python-list@python.org> <0021fabe-78ed-4e79-8cdf-468b4ccc7a71@googlegroups.com>

Show all headers | View raw


On Sunday, June 9, 2013 8:22:17 PM UTC+3, Fábio Santos wrote:
>> This does not seem like a python question, instead a HTML/JavaScript 
one.

In article <0021fabe-78ed-4e79-8cdf-468b4ccc7a71@googlegroups.com>,
 guytamir1@gmail.com wrote:

> its a python question since the request is received on a python server and i 
> thought that there may be a way to so from the server that sends the response to the 
> user...

There are two layers to this question.  The first is a 
HTTP/HTML/Javascript question.  That question is:

"i want to receive a request from a user and to redirect him to a third 
party site, but on the page after i redirect my users i want to them to 
see injected html (on the third party site.)  What HTML, and/or 
Javascript, and/or HTTP headers do I need to send to make that happen?

The second layer is a Python question:

"How do I write something in Python which causes the above 
HTML/Javascript/HTTP to get sent?"

Until you can find an answer for the first question, it's not worth 
asking the second question.  And the answer to the first question won't 
be found on a python group.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Redirecting to a third party site with injected HTML guytamir1@gmail.com - 2013-06-09 10:09 -0700
  Re: Redirecting to a third party site with injected HTML Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-09 13:14 -0400
  Re: Redirecting to a third party site with injected HTML Fábio Santos <fabiosantosart@gmail.com> - 2013-06-09 18:22 +0100
    Re: Redirecting to a third party site with injected HTML guytamir1@gmail.com - 2013-06-09 10:52 -0700
      Re: Redirecting to a third party site with injected HTML Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-09 14:03 -0400
      Re: Redirecting to a third party site with injected HTML Roy Smith <roy@panix.com> - 2013-06-09 14:53 -0400
  Re: Redirecting to a third party site with injected HTML Ian <hobson42@gmail.com> - 2013-06-09 19:24 +0100
    Re: Redirecting to a third party site with injected HTML Guy Tamir <guytamir1@gmail.com> - 2013-06-09 23:50 -0700
      Re: Redirecting to a third party site with injected HTML Fábio Santos <fabiosantosart@gmail.com> - 2013-06-10 08:51 +0100
  Re: Redirecting to a third party site with injected HTML Tim Chase <python.list@tim.thechases.com> - 2013-06-09 13:31 -0500
  Re: Redirecting to a third party site with injected HTML Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-10 07:59 +0000

csiph-web