Displaying 2 results from an estimated 2 matches for "coswiki".
Did you mean:
foswiki
2006 Oct 11
2
Mechanize: save and cancel doesn''t work in JSPWiki
...editForm'')
form.submit(form.buttons.name(''cancel''))
end
Michele
NOTE: I''m guessing that the problem could be that some header data is wrong
or missing, which causes JSPWiki not to handle the request.
logfile
INFO mech: Net::HTTP::Get: http://[A URL]:880/coswiki/Login.jsp
DEBUG mech: request-header: accept => */*
DEBUG mech: request-header: accept-encoding => gzip,identity
DEBUG mech: request-header: user-agent => Mozilla/5.0 (Windows; U; Windows
NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
DEBUG mech: response-header: date => We...
2006 Oct 11
0
Mechanize: save and cancel doesn''t work in JSPWiki: Firefox header
This the header from Firefox to the JSPWiki server when submitting the form.
There is also the redirect, but I only copied the POST.
POST /coswiki/Edit.jsp?page=OldWikiNewWikiDiff HTTP/1.1
Host: tns-fbu-22-091.corp.telenor.no:880
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7)
Gecko/20060909 Firefox/1.5.0.7
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Acce...