Fixed a couple issue with important headers not being sent, may be going overboard now.
Date wasn't not being sent with range requests
Added Content-Length to range requests
Conditional requests with a range should return 304 if the conditions are false (RFC 2616 14.35.2)
Added a test for conditional ranges
Fixed what appeared to be a problems with some of the range tests
headers, conditional range requests, tests
looks good thanks for the tests!
havent looked into it yet but the backport of this has one failing range test
I just ran the tests in 1.x and they completed fine. I assume that is what you mean.
What is the message you're getting?
uncaught: AssertionError: test with wildcard. Invalid response status code.
expresso gets the title wrong since it's an async exceptions haha.. no way around that unfortunately since they are all parallel but with the status codes you can see it's a range one. I'll have a look after work since it's only mine failing
Sounds good. I will triple check my copy and make sure I'm not missing something.
I just triple checked. Tests runs fine in master and 1.x. Are you using a version of Node earlier then 0.4.12?
hmm nope 0.4.12 as well, i'll look into it when i have some time
Shot in the dark.