Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-Length is always -1 #13

Open
dennisroczek opened this issue Aug 14, 2023 · 0 comments
Open

Content-Length is always -1 #13

dennisroczek opened this issue Aug 14, 2023 · 0 comments

Comments

@dennisroczek
Copy link
Contributor

My server always sends the content-length as -1 in the rss feed:

<item>
<title>#140 Über Nato-Skepsis und Antiamerikanismus</title>
<description>
Im Süden kommt die Ukraine bei ihrer Offensive weiter langsam voran. Im Osten hat Russland teilweise die Initiative. Außerdem geht es ausführlich um die Rolle der Nato und speziell der USA in dem Bündnis.
</description>
<guid>
https://www.ardaudiothek.de/episode/was-tun-herr-general-der-podcast-zum-ukraine-krieg/140-ueber-nato-skepsis-und-antiamerikanismus/mdr/94682730/
</guid>
<link>
https://www.ardaudiothek.de/episode/was-tun-herr-general-der-podcast-zum-ukraine-krieg/140-ueber-nato-skepsis-und-antiamerikanismus/mdr/94682730/
</link>
<enclosure url="https://odattachmentmdr-a.akamaihd.net/mp4audiomobil/2/digas-2bbdaf27-6417-4e7f-b6f7-73135fa803b2-0a15de5e5053_2b.mp3" length="-1" type="audio/mpeg"/>
<media:content url="https://odattachmentmdr-a.akamaihd.net/mp4audiomobil/2/digas-2bbdaf27-6417-4e7f-b6f7-73135fa803b2-0a15de5e5053_2b.mp3" medium="audio" duration="4079" type="audio/mpeg"/>
<pubDate>Fri, 11 Aug 2023 19:16:12 +0200</pubDate>
<itunes:duration>4079</itunes:duration>
</item>

No idea why, but curl on linux terminal is working (sadly, unable to test this directly on my server as having no cli access)

curl -sI https://odattachmentmdr-a.akamaihd.net/mp4audiomobil/2/digas-2bbdaf27-6417-4e7f-b6f7-73135fa803b2-0a15de5e5053_2b.mp3 | grep -i Content-Length | awk '{print $2}'
65281944
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant