Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

http/1.1 Byte Range error (encrypted download Link) on iOS

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › http/1.1 Byte Range error (encrypted download Link) on iOS

Tagged: byte, Download, encrypted, header

  • This topic has 6 replies, 3 voices, and was last updated 13 years, 11 months ago by amin007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 8, 2011 at 8:31 am #3757
    dschubba
    Member

    Encrypted Download Links won’t work on iOS with m4v file.

    And I’d like to change HTTP/1.1 BYTE RAGE, but where?

    I’ve tried direct link to this media file, and worked a fine.

    There is no error. Using 2 http servers running, both direct link to media files worked OK.

    I guess I need to edit download.php on eStore, but Im not sure for it.

    Anyone?

    After fixing this problem, eStore will be able to sell m4v for ipod/ipad.

    For Android, need to test it. PC/MAC worked OK.

    July 8, 2011 at 11:56 pm #34113
    amin007
    Participant

    Are you using WP eStore’s default download method or have you modified this in the settings?

    You probably just need to add the “m4v” extenstion to the list of mimetypes. Open the “lib/mimetype.php” file from eStore and look inside the “privBuildMimeArray” function. It has a list of known file extensions. You can add “m4v” to that list with it’s proper mimetype.

    You can also zip the “m4v” file and then serve the download as a normal zip file. The customer knows to unzip a file after they download a zipped file.

    July 14, 2011 at 9:23 am #34114
    dschubba
    Member

    Now, I added m4v in mimetype.php. And I dont see HTTP/1.1 BYTE RAGE error.

    However, downloaded file is 0KB with proper file name.

    Direct link to download file works fine.

    It happens when, using encrypted download link.

    July 14, 2011 at 10:36 am #34115
    dschubba
    Member

    download manager debug log shows;

    [07/14/2011 10:18 AM] – Status : Resolved DL file path = http://<domain>/<filename&gt;.m4v

    [07/14/2011 10:18 AM] – Advisory : No DL file path conversion performed on URL.

    [07/14/2011 10:18 AM] – Status : Dispatching DL method = 1

    I tried URL conversion preference to relative or do not convert, and log shows No DL file path conversion performed on URL.

    Actual file locates on CDN URL, do I have to choose URL conversion setting for DO Not Convert? Also, do I need cURL library?

    July 14, 2011 at 12:49 pm #34116
    wzp
    Moderator

    Why does the path “look funny?”

    July 14, 2011 at 3:00 pm #34117
    dschubba
    Member

    Can you add download method in /wp-cart-for-digital-products/download.php For HTTP/1.1 BYTE RAGE support ?

    I guess this download.php file create http header on each selected methods.

    Note;

    Serving video to iOS devices does not work in Multisite WordPress due to lack of byte-range support

    http://core.trac.wordpress.org/ticket/15552

    Apple iPhone uses HTTP byte-ranges for requesting audio and video files.

    http://mobiforge.com/developing/story/content-delivery-mobile-devices

    >>You probably just need to add the “m4v” extenstion to the list of mimetypes. Open the “lib/mimetype.php” file from eStore and look inside the “privBuildMimeArray” function. It has a list of known file extensions. You can add “m4v” to that list with it’s proper mimetype.

    I added m4v and mp4 in mimetype.php, and not working.

    >>You can also zip the “m4v” file and then serve the download as a normal zip file. The customer knows to unzip a file after they download a zipped file.

    I’d like to serve m4v/mp4.

    >>Why does the path “look funny?”

    Downloading 0KB file issue is solved. So, please ignore it.

    July 15, 2011 at 3:40 am #34118
    amin007
    Participant

    Have you tried “Download Method 6” from the eStore’s download method setup? Method 6 has byte range support.

    This post has full details on the various download methods of eStore:

    https://support.tipsandtricks-hq.com/forums/topic/wp-estore-download-methods

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ