日期:2014-05-17  浏览次数:20915 次

抓包发现的诡异问题,为啥http请求返回数据的同时还返回404错误????????
昨天抓取http://acid3.acidtests.org网站的包是发现了一个诡异的问题,服务器返回了数据(即support-a.png),但是返回状态确是404,这是为神马呢?百思不得其解,哪位大虾能帮忙解惑啊?
GET /support-a.png HTTP/1.1

Host: acid3.acidtests.org

Connection: keep-alive


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

Accept: */*

Referer: http://acid3.acidtests.org/

Accept-Encoding: gzip,deflate,sdch

Accept-Language: zh-CN,zh;q=0.8

Accept-Charset: GBK,utf-8;q=0.7,*;q=0.3




HTTP/1.1 404 Not Found

Date: Mon, 17 Oct 2011 14:12:22 GMT

Server: Apache

Last-Modified: Thu, 01 Jun 2006 06:09:43 GMT

ETag: "8141755-908-41523839d37c0"

Accept-Ranges: bytes

Vary: Accept-Encoding,User-Agent

Content-Encoding: gzip

X-Pingback: http://tracking.damowmow.com/

Content-Language: en-GB-x-Hixie

Content-Length: 2214

Keep-Alive: timeout=2, max=99

Connection: Keep-Alive

Content-Type: image/png


........... ....PNG

.
...
IHDR..............c......sRGB.........gAMA......a.... cHRM..z&..............u0...`..:....p..Q<....IDATx^....%+...........cZ.*@..'......'...?..........._y..'P..B....+P>..B...",.@..J7PH..ay..'.R...\...(.@..
..",.@..B
.........(.@!._...(.@H!.vr..W.|...($........)d.....gt..
|.]..X..8(......s.++8..f..l.%.X..KD.A..z~..i....`..".........RNP|..X..Q.:....U..*1.=...P....{.....
....k...z...".t.~....6x..d...!....T{.U....w...a...a....O...@.....$B..l,B.....a..1..!..b8.o....7..0....\.....De.....?
!..<;........#....fr........x..K.Y..:
5+|{.%2...>..o#..O@.J.*....=fc..?..lAy....J.ZJ=..........:.U5...[.q.=.v(....,...
..E.|\.x..'.3....~..Q....:.......L.......6Rd..,.!.fOuO.,.3]8..V{q....ZUj
..v..E.....u]hHX.}.N.Xz....W{.r.4...dc.?.......-~.9....[.S.*k....E(.{....'.b...g..B8...gx...Jq...Ab..........x......P....I.]..,`.}...N.<...]H..jC.D...!Q....j&.........._...]........=..!.OE8......4.0.......A..|.&..#x..a#c[.`...m..*...j.v..@].e.....B.f~...../.G\.....e...B8..f.k.....Z/.......5[...o......v|~>..#.....l.(..Vx.l.`8..0..
.........D....0.....~...UTC.'?........XHW.Pm.. _......T.Z......'a.T.......X!.>Q.Bx..-...~.j.B.....u.~.
f8.....'.c.}.G.3P..e...._.p)?o.R...5)*......>....BH!...[.s|.|.P.k...R.....Q!.1C.(.R...K...!....
........R....
..;A}.....B*V?.p..).o.%..v.,1H.p{...........U.....z@..R.
.hz{.^..'.a).....'..Y......]..A.QM
@...{....:....0[..g..r{.m!K@^...@.......D..M~...=..`>H...4.5..KD.R.k=<.gQ.xa....nvh..I3..O0.B$C...A.u..a.ih....]m....sM .u.(Q.0f._...^Pq......A....../.{.C}.. \...EA.Y.-.. Pc.f...
...w+d....R...?0.....:9h&Wa$B........%p....:K9.....z$$a.D...Q.q...3i.6..p....
......]g.....9.
.,.O.. M.....rH...C.`...`.7.....E..5...=..:HXoJ..IR...jJ../.x...3jx.
$..4.%;..........5T.P.m..qQ..._"..P..G.......Zg.w...R.......p|9..~...M....1.0.Y....08D..acf..\.p./'.=..R...",.|...R..'.x..a..F.
g.6SG.....u.B......I.R....lT..*.j.......d..?.........Lc...Px.G..I.f.,......$.....>..3m.x..9.......,..P.R..P.
..6....CP...-..)/BdD...a......RaVLC'j.j.!.P...]..!..x.f.....T
..~&.x.1.#....SR.......ocD.)....eO.S../.....p....Oxt.b_1?...{..F=....g.p.....>f.....f.!\.........pQee..(.
nS D3.x5...#l......`f?qV....._........(.~.|......w..Z6..?>..SA....j?.....D...C....'8.T..h`......l..Y...Ta.t.sY.....)..,....

------解决方案--------------------
这个很纠结啊,是用的什么抓包?
你先确定返回的数据是否正确
------解决方案--------------------
对方网站的后台写错了吧