KGIII / pino-twitter

Automatically exported from code.google.com/p/pino-twitter
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Should active send Basic Auth Information #320

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Pino currently using the ``authenicate`` signal provided by libsoup, it will 
only be emitted when HTTP 401 is returned.

However, some of twitter API proxy (twip 3.1 for instance) will return an HTTP 
403. In this case Pino will never send out the Basic Auth information.

I've wrote an very ugly (since I'm not familiar with Vala) patch for this. 
Please refer to the attachment.

Thanks.

Original issue reported on code.google.com by mikeandm...@gmail.com on 2 Sep 2010 at 6:48

Attachments:

GoogleCodeExporter commented 8 years ago
How it work?

Original comment by giannini...@gmail.com on 2 Sep 2010 at 8:42

GoogleCodeExporter commented 8 years ago
@giannini.macro

It will add Basic Auth header every time when ``make_response``, instead of 
setting up the Basic Auth header when ``authenticate`` signal emitted.

Original comment by mikeandm...@gmail.com on 2 Sep 2010 at 9:09

GoogleCodeExporter commented 8 years ago
Thanks

Original comment by giannini...@gmail.com on 5 Sep 2010 at 9:07