Closed sebilasse closed 7 years ago
Thank you for your pull request. It looks like this may be your first contribution to a jQuery Foundation project, if so we need you to sign our Contributor License Agreement (CLA).
:memo: Please visit http://contribute.jquery.org/CLA/ to sign.
After you signed, the PR is checked again automatically after a minute. If there's still an issue, please reply here to let us know.
If you've already signed our CLA, it's possible your git author information doesn't match your CLA signature (both your name and email have to match), for more information, check the status of your CLA check.
@@ master #198 diff @@
==========================================
Files 43 43
Lines 2233 2233
Methods 26 26
Messages 0 0
Branches 420 420
==========================================
+ Hits 2022 2173 +151
+ Misses 207 57 -150
+ Partials 4 3 -1
Powered by Codecov. Last update 09d9ac1...bbc3069
@sebilasse thanks for the contribution. The PR looks fine, but it would be great to get tests for it before we were to merge it.
What would a test look like without a server?
What I also stumbled upon is the note in request/node
:
"TODO: This redirect code is not 100% correct according to the RFC; needs to handle redirect loops and restrict/modify certain redirects"
This feels pretty important and could also be a (trackable) issue (especially because redirect loops will occur, try german lead media site "spiegel.de" [without 'www.']).
There is a server integrated into the test harness. The server code is located in tests/services/echo.ts
and is bootstrapped when the tests are run.
Closing because issue was closed.
see https://github.com/dojo/core/issues/197