#1 2011-07-03 14:17:30

unclepetros
Member
Registered: 2010-04-11
Posts: 88

[Patch] Handle correctly "302 Moved temporarily" HTTP response

Hi,
I've solved problem with ISBN search with Bol.it plugin.
The problem was related to the fact "302 Moved temporarily" HTTP response was not handled.

Infact when doing an ISBN search on www.bol.it, it returns a "302 Moved temporarily" response, that is a "redirect"response containing a field "location" in which is set the item description page url.
So, doing a further get request to this url returns directly the item description page.

The patch is useful not only for bol.it plugin, but for all plugins involved with a 302 HTTP response.

In attachment the patch.

The patch is also included in "GCStar Temp Repository" here: http://forums.gcstar.org/viewtopic.php?id=1971.

Regards
UnclePetros

Last edited by unclepetros (2011-07-03 14:21:00)


Attachments:
Attachment Icon GCPluginsBase.pm.patch, Size: 701 bytes, Downloads: 510

Offline

 



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.