cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1198 Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sat, 30 Mar 2013 21:22:23 +0000

- **assigned_to**: Daniel Stenberg
- **milestone**: -->

---
** [bugs:#1198] Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.**
**Status:** open
**Labels:** redirect content-length 
**Created:** Mon Feb 25, 2013 02:38 PM UTC by Ulion
**Last Updated:** Sat Mar 30, 2013 08:43 PM UTC
**Owner:** Daniel Stenberg
when the target file redirected to a result url which has no content-length, call getinfo for CURLINFO_CONTENT_LENGTH_DOWNLOAD will get the previous 302 page's body content-length, this PR fixed it: https://github.com/bagder/curl/pull/59
test link: http://mp3.live.tv-radio.com/francemusique/all/francemusiquehautdebit.mp3
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1198/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-03-30

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET