Return location property in httpGet/httpPost
|Assignee:||Andreas Smas||% Done:|
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.
#1 Updated by Andreas Smas about 9 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 about 9 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 about 9 years ago
Here is an example of it:
I have this link:
It redirects by default to:
And I need what is after the "file=" in the final url and, at the moment, it is impossible to get that value.