nsIWebBrowserPersist doesn't work with aPostData passed

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
7 years ago
7 years ago

People

(Reporter: and7ey, Unassigned)

Tracking

9 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111220165912

Steps to reproduce:

Tried to generate POST request with nsIWebBrowserPersist (saveURI) and aPostData:
http://stackoverflow.com/a/8785567/604388

(the same code with no aPostData works well, GET request is sent)


Actual results:

0 bytes file is saved, HTTP request is not captured by Wireshark


Expected results:

POST request should be sent, correct file to be downloaded
Judging from the stackoverflow answer you posted, it seems that you have figured it out on your own, right?
(Reporter)

Comment 2

7 years ago
(In reply to Nickolay_Ponomarev from comment #1)
> Judging from the stackoverflow answer you posted, it seems that you have
> figured it out on your own, right?

right
Thanks for posting back! Sorry you didn't get a timely reply here, posting to the right newsgroup, (sometimes) to the right bugzilla component, or on irc can have a better effect.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.