Search found 13 matches

by MoSal
Fri Sep 18, 2015 3:28 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Is flashgot with working RAWPOST ever going to be available in AMO? In case you've lost the version I uploaded before, I can reupload it. And if you haven't, I still have your latest xpi. Thank you. why do you even care about AMO? I don't care personally. But I hoped to share a fully-functional wra...
by MoSal
Sat Sep 12, 2015 7:33 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

MoSal wrote:I hope a working RAWPOST will be included in an official release someday.
So...
Is flashgot with working RAWPOST ever going to be available in AMO?
by MoSal
Mon Apr 27, 2015 3:31 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

I hope a working RAWPOST will be included in an official release someday.
by MoSal
Thu Mar 19, 2015 4:20 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Thank you for all your help.

The added spaces annoyed me too. But I think Giorgio will opt to keep them for backwards-compatibility.

Edit: Or maybe add a space after each ']' instead of after the placeholder and hope no one's script will break.
by MoSal
Thu Mar 19, 2015 12:01 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Okay. This one worked. Thank you. http://ix.io/gYx Is this the correct behaviour of HEADER? More importantly, the space after each placeholder is gone. This should be documented in the Changelog if this code is pulled by upstream. Some shell/batch scripts used to parse the arguments will need to be ...
by MoSal
Wed Mar 18, 2015 4:41 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Tested with a fresh profile.
http://ix.io/gXG
by MoSal
Mon Mar 16, 2015 9:39 am
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

The logs triggered anti-spam protection. So, I pasted them elsewhere:
http://ix.io/gVc
by MoSal
Sun Mar 15, 2015 6:32 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Only 'a=b' is passed with both POST and RAWPOST here.
by MoSal
Sun Mar 15, 2015 3:10 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Unfortunately, the new placeholders do not pass the intended data in my setup. [HEADERS] is always empty (never passed). And [RAWPOST] is the same as [POST]!
by MoSal
Fri Mar 13, 2015 5:35 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

But you do realise that this approach is still broken? I mean, multipart POSTs won't work at all (without you (the downloader) parsing the POST data and adding the correct Content-Type header), and even for a url-encoded POST you may need the charset. Now that you mention it. A list of reference ex...
by MoSal
Fri Mar 13, 2015 3:19 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

If it's Content-Type and Content-Length, and only these 2, then yes, they're injected by the browser, and FlashGot passes them untouched to you. But I guess that just breaks every downloader because no one expects POST data in such format. Besides, I forgot to modify flashgot.exe to account for tha...
by MoSal
Thu Mar 12, 2015 6:06 pm
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

Re: POST data includes headers

Of course there is a cleaner solution: file a bug against whatever thing (e.g. a Flash plugin) puts headers to POST data. FlashGot just grabs a channel's upload stream which is supposed to contain just the POST data without any headers. To clarify, I added my still-unpublished downloader manually t...
by MoSal
Wed Mar 11, 2015 11:05 am
Forum: FlashGot Development
Topic: POST data includes headers
Replies: 32
Views: 22990

POST data includes headers

Hello.

FlashGot passes with POST data the headers:

Code: Select all

Content-Type: application/x-www-form-urlencoded
Content-Length: <POST data length>
Is there a way to pass the POST data alone to a downloader?

I can add logic in my downloader to skip the headers. But I was hoping for a cleaner solution.