๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #39879

HTTP::Proxy::HeaderFilter

#39879
From: Grazon
Date: Sat, 30 Oct 2004 08:15
29 lines
1810 bytes
Witam!
Uzywal ktos moze tego modulu: HTTP::Proxy::HeaderFilter ?

Nie moge nigdzie znalesc sposobu, na zmiane zawartosci jednego z naglowkow. Mam
taki pakiet np:

POST /data/plik.php?data=9940 HTTP/1.1
Accept: */*
x-flash-version: 7,0,19,0
Content-Type: application/x-www-form-urlencoded
Content-Length: 103
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Host: some.domain.com
Connection: Keep-Alive
Cache-Control: no-cache
Cookie:
JSESSIONID=B2v1eQqK2hUM5UyF7bN7IyOHKsxsKZ0AGG0u6rmtTDSqXowa2C8m!-76550661!-1015188588!21001!-1;
MENU1=; MENU2=; MEMBER_ID=Boruc; REG_COUNTRY=pol; LOG_IN=true; COUNTRY=0102056

onData=%5Btype+Function%5D&%0D%0A+%0A%0A%0A%0A=&user%5Fid=Boruc&button1=0&button2=0&button3=0&data=9940

I chcialbym jakos zamienic to ostatnie 'data=9940' na np 'data=50' przed
wyslaniem pakietu w siec.

Pozdrawiam i dziekuje z gory za pomoc.

-- 
Wysล‚ano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID: <4798.00000c9d.41834dbe@newsgate.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
From: "Grazon" <grazonWYTNIJTO@op.pl>
Newsgroups: pl.comp.lang.perl
Subject: HTTP::Proxy::HeaderFilter
Date: 30 Oct 2004 10:15:59 +0200
Organization: Onet.pl SA
Lines: 29
Message-ID: <4798.00000c9d.41834dbe@newsgate.onet.pl>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
X-Trace: newsgate.test.onet.pl 1099124159 26352 213.180.130.18 (30 Oct 2004 08:15:59 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 30 Oct 2004 08:15:59 GMT
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 192.168.1.244, 194.24.244.5, 192.168.243.39
X-User-Agent: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001    Firefox/0.10.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit