Open markbirbeck opened 6 years ago
This comes from way back. At the time the Docker API was very young. There were endpoints sending/posting data in very different ways and different signatures everywhere. Question mark was used in order to easily identify which ones used query string :)
Spent a bunch of time tracking this down today. Is this still relevant to the docker API?
For some reason if an options object like this is submitted:
the parameters in
_query
are not added to the URL. However, if there is a question mark in the URL (inpath
), they are added:The line that causes this is modem.js#L115, but I'm wary of touching it since I'm not quite sure what the logic was.