Return to Snippet

Revision: 24983
at March 17, 2010 10:20 by rowntreerob


Initial Code
<code>
    ---request begin for openx publish zone 659---

GET /openads/www/delivery/avw.php?zoneid=659&n=a96f3900 HTTP/1.0
User-Agent: Wget/1.11.3
Accept: */*
Host: po3.realtimematrix.net
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 302 Found
Date: Sat, 07 Feb 2009 02:51:45 GMT
Server: Apache/2.2.2 (Fedora)
X-Powered-By: PHP/5.1.6
Pragma: no-cache
Cache-Control: private, max-age=0, no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Set-Cookie: OAID=b867597f93c7f3535ec53a5445b53fac; expires=Sun, 07-Feb-2010 02:51:45 GMT; path=/
P3P: CP="CUR ADM OUR NOR STA NID"
Set-Cookie: OAGEO=US%7CCA%7CBerkeley%7C%7C37.8781%7C-122.271%7C%7C%7C%7C%7C; path=/
Set-Cookie: OAVARS[a96f3900]=a%3A3%3A%7Bs%3A8%3A%22bannerid%22%3Bs%3A3%3A%22343%22%3Bs%3A6%3A%22zoneid%22%3Bs%3A3%3A%22659%22%3Bs%3A6%3A%22oadest%22%3Bs%3A94%3A
%22http%3A%2F%2Fad.doubleclick.net%2Fjump%2FN2870.rtm%2FB3328275.4%3Babr%3D%21ie4%3Babr%3D%21ie5%3Bsz%3D200x40%3Bord%3Db15a952478%22%3B%7D; path=/
Location: http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478   ***** the {random} val returned with the 302 to the impression
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8

---response end---
302 Found

Stored cookie po3.realtimematrix.net -1 (ANY) / <permanent> <insecure> [expiry 2010-02-06 18:51:45] OAID b867597f93c7f3535ec53a5445b53fac

Stored cookie po3.realtimematrix.net -1 (ANY) / <session> <insecure> [expiry none] OAGEO US%7CCA%7CBerkeley%7C%7C37.8781%7C-122.271%7C%7C%7C%7C%7C

Stored cookie po3.realtimematrix.net -1 (ANY) / <session> <insecure> [expiry none] OAVARS[a96f3900] a%3A3%3A%7Bs%3A8%3A%22bannerid%22%3Bs%3A3%3A%22343%22%3Bs%3A
6%3A%22zoneid%22%3Bs%3A3%3A%22659%22%3Bs%3A6%3A%22oadest%22%3Bs%3A94%3A%22http%3A%2F%2Fad.doubleclick.net%2Fjump%2FN2870.rtm%2FB3328275.4%3Babr%3D%21ie4%3Babr%3
D%21ie5%3Bsz%3D200x40%3Bord%3Db15a952478%22%3B%7D
Location: http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 [following]
Closed fd 3
--2009-02-06 18:51:41--  http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478  ***** the {random} val returned also in the cookie
Resolving ad.doubleclick.net... 216.73.87.52
Caching ad.doubleclick.net => 216.73.87.52
Connecting to ad.doubleclick.net|216.73.87.52|:80... connected.
Created socket 3.
Releasing 0x012e0dd8 (new refcount 1).

---request begin---
GET /ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 HTTP/1.0
User-Agent: Wget/1.11.3
Accept: */*
Host: ad.doubleclick.net
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 302 Moved Temporarily
Content-Length: 0
Date: Sat, 07 Feb 2009 02:51:01 GMT
Location: http://m1.2mdn.net/viewad/836848/200x40.jpg
Cache-Control: no-cache
Pragma: no-cache
Discarded: true
Set-Cookie: test_cookie=CheckForPermission; path=/; domain=.doubleclick.net; expires=Sat, 07 Feb 2009 03:06:01 GMT
P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"

---response end---
302 Moved Temporarily
cdm: 1 2 3 4 5 6 7 8
Stored cookie doubleclick.net -1 (ANY) / <permanent> <insecure> [expiry 2009-02-06 19:06:01] test_cookie CheckForPermission
Location: http://m1.2mdn.net/viewad/836848/200x40.jpg [following]
Closed fd 3
--2009-02-06 18:51:42--  http://m1.2mdn.net/viewad/836848/200x40.jpg
Resolving m1.2mdn.net... 8.22.48.122, 8.22.48.131
Caching m1.2mdn.net => 8.22.48.122 8.22.48.131
Connecting to m1.2mdn.net|8.22.48.122|:80... connected.
Created socket 3.
Releasing 0x012e1d68 (new refcount 1).

---request begin---
GET /viewad/836848/200x40.jpg HTTP/1.0
User-Agent: Wget/1.11.3
Accept: */*
Host: m1.2mdn.net
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 200 OK
Content-Type: image/jpeg
Content-Length: 9207
Server: DCLK Creative
Last-Modified: Tue, 16 Dec 2008 16:57:14 GMT
Cache-Control: max-age=86400
Date: Sat, 07 Feb 2009 02:51:44 GMT
Connection: keep-alive

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 9207 (9.0K) [image/jpeg]
Saving to: `200x40.jpg.33'

</code>

Initial URL


Initial Description
Live Header trace of request and response for a banner ad from an OpenX publisher zone.  The series of http redirects eventually results in the delivery of a banner ad ie the .jpg at the bottom of the trace.

Initial Title
Http request response protocol - Deliver Banner Ad

Initial Tags


Initial Language
HTML