Feature #930
Return location property in httpGet/httpPost
Status: | Fixed | Start date: | 04/13/2012 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Plugins | |||
Target version: | 3.6 |
Description
In some cases we need to know the final location of a http redirection in order to parse correctly a video link, without it, it will fail. This could be resolved by simply adding a property "location" to HTTP request return object.
History
#1
Updated by Andreas Smas over 10 years ago
- Status changed from New to Need feedback
Hum. By default Showtime will follow HTTP redirects.
I assume you would like to disable that?
If that would be possible you should be able to get the Location: in the normal HTTP headers.
Do I understand you correctly?
Perhaps you have a sample URL
#2
Updated by Fábio Ferreira over 10 years ago
There's no sample URL, Navi-X has some few processors that request a http file that is redirected and the plugin must get the final location url string to get the information needed.
Showtime should follow HTTP redirects and just give me the location url string so I can do the work above.
#3
Updated by Fábio Ferreira over 10 years ago
Here is an example of it:
I have this link:
http://blip.tv/play/g5NSgaekfQI%2Em4v
And I need what is after the "file=" in the final url and, at the moment, it is impossible to get that value.
#4
Updated by Andreas Smas over 10 years ago
- Status changed from Need feedback to Fixed
This works now