[pmwiki-users] GET/POST generated by a windows client/servertool

Stéphane Heckel hsteph at club-internet.fr
Mon Mar 17 06:45:30 CDT 2008


"Patrick R. Michaud" wrote :

> You also need &action=edit, &post=1, and possibly n=Main.HomePage.

I have used "fiddler" to capture http traffic, ...

#1 This is the header generated by the "manual" process (submited by IE)

POST /index.php?n=Main.TestComments?action=edit HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, 
application/x-shockwave-flash, application/x-ms-application, 
application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, 
application/x-silverlight, */*
Referer: http://localhost/index.php?n=Main.TestComments?action=edit
Accept-Language: fr,en;q=0.5
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Host: localhost
Content-Length: 92
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: dbx-postmeta=grabit:0+|1+|2-|3-|4+|5-&advancedstuff:0-|1-|2-; 
dbx-pagemeta=grabit:0-|1+|2-|3-|4-|5-|6-|7-&advancedstuff:0-; 
dbx-linkmeta=grabit:0+|1-|2-&advancedstuff:0-|1-; toggle_articles_detail=1; 
author=steph

action=edit&n=Main.TestComments&basetime=1205747868&text=titi&csum=&author=steph&post=+Save+

remark : this request generates a "302" FOUND

# This is header generated by the windows client/server

POST /index.php?n=Main.TestComments?action=edit HTTP/1.1
Content-Length: 92
Content-Type: application/x-www-form-urlencoded
Accept: */*
Host: localhost
User-Agent:
Connection: close

action=edit&n=Main.TestComments&basetime=1205318858&text=tutu&csum=&author=steph&post=+Save+

This request generates a "200" OK but _does not_ update the wiki page, ...

Any idea why the wiki page is not updated ?

Thanks

SH







More information about the pmwiki-users mailing list