Skip to content
Commit 00c3a7eb authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix HTTP client given options being overriden by default options



According to the array_merge documentation, "If the input arrays have
the same string keys, then the later value for that key will overwrite
the previous one." Thus, the default options must be the first parameter
passed to array_merge.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 479e3199
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment