login about faq

Working on some REST api clients this week and I've noticed that when I use:

req.AddHeader("Range","bytes=0-1212");

While chilkat's http object takes it just fine, the responses don't appear to be seeing the Range header as I get full content, not partial.

I've done the same thing with the WinHttpSendRequest function adding a Range header and get back the proper partial content.

I'm wondering if the Range header is being overwritten or should be applied through a different method? I'm using the latest Chilkat C++ libraries.

Thanks!

hz

asked Mar 27 '13 at 16:24

hazmat's gravatar image

hazmat
1111516


Check the actual HTTP request sent by setting the SessionLogFilename property for debugging.

link

answered Mar 28 '13 at 08:12

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186
×2

Asked: Mar 27 '13 at 16:24

Seen: 993 times

Last updated: Mar 28 '13 at 08:12

powered by OSQA