Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8778335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:30:39+00:00 2026-06-13T19:30:39+00:00

I tried to send a request within a Greasemonkey script, using the Range-header. The

  • 0

I tried to send a request within a Greasemonkey script, using the Range-header.
The requested site is kind of long and I know which parts I actually need, so I thought, instead of requesting the whole site to download I could just request the necessary 500 bytes to speed things up.

However, Range: bytes=0-500 always gives me the full website. I also tried Content-Range: bytes=0-500, which doesn’t work, and Content-Length:500 which isn’t allowed to set any more due to security-problems.

So, does anybody know, why it is like this?
I’m using Greasemonkey scripts:

 GM_xmlhttpRequest({
    method: 'GET',
    url: "http://colonel-strawberry.deviantart.com/",
     headers: {"Range": "bytes=0-500"}, 
    onload: function (responseDetails) {
      console.log(responseDetails);
    },
    onerror: function(responseDetails) {
      console.log("err:"+responseDetails);
    }
});

With response-header:

Date: Mon, 05 Nov 2012 17:11:42 GMT
Content-Encoding: gzip
Transfer-Encoding: chunked
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa OUR STP"
Connection: Keep-Alive
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html
Cache-Control: private
Keep-Alive: timeout=45
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:30:41+00:00Added an answer on June 13, 2026 at 7:30 pm

    The host colonel-strawberry.deviantart.com does not appear to support requests for byte ranges.

    You would need to be requesting the data from a server that does support them.

    (I tested by comparing curl -H "Range: bytes=50-60" $foo where $foo was first http://colonel-strawberry.deviantart.com and then where it was a URI on a server I do control).

    Note the HTTP specification:

    A server MAY ignore the Range header.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to send an email using this class below, but no success, no
I have tried to draw Polygon using Drawing Manager and send the Polygon Coordinates
How do I send a period using sendkeys? I have tried: System.Windows.Forms.SendKeys.SendWait({.}); System.Windows.Forms.SendKeys.SendWait(.); but
I've have an application which send request to server side. my concern is that,
I have made a JSP page which send request to @controller into method UserList()
i'm working on an iphone app, in which i need to send application request(invitation
I have tried every combination to send a request to send a POST request
We have developed one android application which will send the request and receive the
I tried to do XmlHttpRequest.send request and it failed. I got error message -
I tried the following code to send request to jsp page on a click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.