On May 2, 2015, at 3:47 PM, Turbo Fredriksson wrote:
Running this thought 'strace'
In the strace, I see this:
- s n i p -
connect(3, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr(72.21.215.52)}, 16) = -1 EINPROGRESS (Operation now in
progress)
poll([{fd=3, events=POLLOUT}], 1, 1) = 1 ([{fd=3, revents=POLLOUT}])
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
poll([{fd=3, events=POLLOUT}], 1, 1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, GET /find?q=Guardians+of+the+galaxys=ttmx=20 HTTP/1.0\r\nHost:
akas.imdb.com\r\nUser-Agent: Mozilla/5.0\r\nCookie: id=MY_COOKIE_ID;
uu=MY_COOKIE_UU\r\n\r\n, 647, 0, NULL, 0) = 647
- s n i p -
Using this in a telnet session
- s n i p -
[celia.pts/8]$ telnet 72.21.215.52 80
Trying 72.21.215.52...
Connected to 72.21.215.52 (72.21.215.52).
Escape character is '^]'.
GET /find?q=Guardians+of+the+galaxys=ttmx=20 HTTP/1.0
Host: akas.imdb.com
User-Agent: Mozilla/5.0
Cookie: id=MY_COOKIE_ID; uu=MY_COOKIE_UU
[enter]
[enter]
- s n i p -
I then get a correct (from what it seems) output:
- s n i p -
HTTP/1.1 200 OK
Date: Sat, 02 May 2015 13:52:24 GMT
Server: Server
X-Frame-Options: SAMEORIGIN
Content-Type: text/html;charset=UTF-8
Content-Language: en-US
Vary: Accept-Encoding,User-Agent
Set-Cookie: uu=NOT_MY_COOKIE_ID; Domain=.imdb.com; Expires=Thu, 20-May-2083
17:06:32 GMT; Path=/
Set-Cookie: session-id=919-3017947-8153573; Domain=.imdb.com; Expires=Thu,
20-May-2083 17:06:32 GMT; Path=/
Set-Cookie: session-id-time=1588254745; Domain=.imdb.com; Expires=Thu,
20-May-2083 17:06:32 GMT; Path=/
P3P: policyref=http://i.imdb.com/images/p3p.xml,CP=CAO DSP LAW CUR ADM IVAo
IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT
STA HEA PRE LOC GOV OTC
Connection: close
[java and html code etc]
- s n i p -
--
There are no dumb questions,
unless a customer is asking them.
- Unknown
--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help