Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWreck#request's options are overridden by Defaults #117
Comments
This comment has been minimized.
This comment has been minimized.
In case it wasn't entirely clear here the line:
Should read as:
|
This comment has been minimized.
This comment has been minimized.
Looking at documentation for |
ThisIsMissEm
pushed a commit
to ThisIsMissEm/wreck
that referenced
this issue
Mar 2, 2016
This test does currently fail, see hapijs#117
Merged
ThisIsMissEm
pushed a commit
to ThisIsMissEm/wreck
that referenced
this issue
Mar 2, 2016
This test does currently fail, see hapijs#117
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Essentially when you specify defaults, those override the individual values for each requests' options, rather than being, well, defaults.
Log of incorrect behaviour happening:
(note: WRECK1 / WRECK2 was me instrumenting Wreck around this line: https://github.com/hapijs/wreck/blob/master/lib/index.js#L69 )